timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
tim::mpl::function_traits< R(*)(Args...)> Struct Template Reference

#include "timemory/mpl/function_traits.hpp"

+ Collaboration diagram for tim::mpl::function_traits< R(*)(Args...)>:

Public Types

using result_type = R
 
using args_type = std::tuple< Args... >
 
using call_type = args_type
 

Static Public Attributes

static constexpr bool is_memfun = false
 
static constexpr bool is_const = false
 
static constexpr size_t nargs = sizeof...(Args)
 

Detailed Description

template<typename R, typename... Args>
struct tim::mpl::function_traits< R(*)(Args...)>

Definition at line 65 of file function_traits.hpp.

Member Typedef Documentation

◆ args_type

template<typename R , typename... Args>
using tim::mpl::function_traits< R(*)(Args...)>::args_type = std::tuple<Args...>

Definition at line 71 of file function_traits.hpp.

◆ call_type

template<typename R , typename... Args>
using tim::mpl::function_traits< R(*)(Args...)>::call_type = args_type

Definition at line 72 of file function_traits.hpp.

◆ result_type

template<typename R , typename... Args>
using tim::mpl::function_traits< R(*)(Args...)>::result_type = R

Definition at line 70 of file function_traits.hpp.

Member Data Documentation

◆ is_const

template<typename R , typename... Args>
constexpr bool tim::mpl::function_traits< R(*)(Args...)>::is_const = false
staticconstexpr

Definition at line 68 of file function_traits.hpp.

◆ is_memfun

template<typename R , typename... Args>
constexpr bool tim::mpl::function_traits< R(*)(Args...)>::is_memfun = false
staticconstexpr

Definition at line 67 of file function_traits.hpp.

◆ nargs

template<typename R , typename... Args>
constexpr size_t tim::mpl::function_traits< R(*)(Args...)>::nargs = sizeof...(Args)
staticconstexpr

Definition at line 69 of file function_traits.hpp.


The documentation for this struct was generated from the following file: