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.
|
This operation class is similar to pointer_operator but can handle non-pointer types. More...
#include "timemory/operations/types/generic.hpp"
Public Types | |
using | type = std::remove_pointer_t< Tp > |
Public Member Functions | |
TIMEMORY_DELETED_OBJECT (generic_operator) private | |
template<typename Up , typename... Args, typename Rp = type, enable_if_t< trait::is_available< Rp >::value, int > = 0, enable_if_t< std::is_pointer< Up >::value, int > = 0> | |
generic_operator (Up obj, Args &&... args) | |
template<typename Up , typename... Args, typename Rp = type, enable_if_t< trait::is_available< Rp >::value, int > = 0, enable_if_t< std::is_pointer< Up >::value, int > = 0> | |
generic_operator (Up obj, Up rhs, Args &&... args) | |
template<typename Up , typename... Args, typename Rp = Tp, enable_if_t< trait::is_available< Rp >::value, int > = 0, enable_if_t<!std::is_pointer< Up >::value, int > = 0> | |
generic_operator (Up &obj, Args &&... args) | |
template<typename Up , typename... Args, typename Rp = Tp, enable_if_t< trait::is_available< Rp >::value, int > = 0, enable_if_t<!std::is_pointer< Up >::value, int > = 0> | |
generic_operator (Up &obj, Up &rhs, Args &&... args) | |
template<typename Up , typename... Args, typename Rp = Tp, enable_if_t<!trait::is_available< Rp >::value, int > = 0> | |
generic_operator (Up &, Args &&...) | |
Static Public Member Functions | |
template<typename Up > | |
static bool | is_invalid (Up &obj) |
This operation class is similar to pointer_operator but can handle non-pointer types.
Definition at line 54 of file generic.hpp.
using tim::operation::generic_operator< Tp, Op, Tag >::type = std::remove_pointer_t<Tp> |
Definition at line 56 of file generic.hpp.
|
inlineexplicit |
Definition at line 109 of file generic.hpp.
References tim::operation::generic_operator< Tp, Op, Tag >::is_invalid().
|
inlineexplicit |
Definition at line 123 of file generic.hpp.
References tim::operation::generic_operator< Tp, Op, Tag >::is_invalid().
|
inlineexplicit |
Definition at line 199 of file generic.hpp.
References tim::operation::generic_operator< Tp, Op, Tag >::is_invalid().
|
inlineexplicit |
Definition at line 213 of file generic.hpp.
References tim::operation::generic_operator< Tp, Op, Tag >::is_invalid().
|
inline |
Definition at line 307 of file generic.hpp.
|
inlinestatic |
Definition at line 89 of file generic.hpp.
Referenced by tim::operation::generic_operator< Tp, Op, Tag >::generic_operator().
|
inline |
Definition at line 58 of file generic.hpp.