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(C::*)(Args...)> Struct Template Reference

#include "timemory/mpl/function_traits.hpp"

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

Public Types

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

Static Public Attributes

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

Detailed Description

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

Definition at line 88 of file function_traits.hpp.

Member Typedef Documentation

◆ args_type

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

Definition at line 94 of file function_traits.hpp.

◆ call_type

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

Definition at line 95 of file function_traits.hpp.

◆ result_type

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

Definition at line 93 of file function_traits.hpp.

Member Data Documentation

◆ is_const

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

Definition at line 91 of file function_traits.hpp.

◆ is_memfun

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

Definition at line 90 of file function_traits.hpp.

◆ nargs

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

Definition at line 92 of file function_traits.hpp.


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