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::operation::insert< T > Struct Template Reference

#include "timemory/operations/types.hpp"

+ Collaboration diagram for tim::operation::insert< T >:

Public Member Functions

template<typename Up , typename... Args>
auto operator() (Up &obj, Args &&... args) const
 

Detailed Description

template<typename T>
struct tim::operation::insert< T >

Definition at line 325 of file types.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
template<typename Up , typename... Args>
auto tim::operation::insert< T >::operator() ( Up &  obj,
Args &&...  args 
) const
inline

Definition at line 330 of file types.hpp.

331 {
332 static_assert(!std::is_pointer<Up>::value,
333 "SFINAE tests will always fail with pointer types");
334 return sfinae(obj, 0, 0, std::forward<Args>(args)...);
335 }

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