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::store< Tp > Struct Template Reference

#include "timemory/operations/types/store.hpp"

+ Collaboration diagram for tim::operation::store< Tp >:

Public Types

using type = Tp
 

Public Member Functions

template<typename... Args>
 store (type &obj, Args &&... args)
 
template<typename... Args>
auto operator() (type &obj, Args &&... args)
 

Detailed Description

template<typename Tp>
struct tim::operation::store< Tp >

Definition at line 44 of file store.hpp.

Member Typedef Documentation

◆ type

template<typename Tp >
using tim::operation::store< Tp >::type = Tp

Definition at line 46 of file store.hpp.

Constructor & Destructor Documentation

◆ store()

template<typename Tp >
template<typename... Args>
tim::operation::store< Tp >::store ( type obj,
Args &&...  args 
)
inlineexplicit

Definition at line 51 of file store.hpp.

52 {
53 sfinae(obj, 0, 0, std::forward<Args>(args)...);
54 }

Member Function Documentation

◆ operator()()

template<typename Tp >
template<typename... Args>
auto tim::operation::store< Tp >::operator() ( type obj,
Args &&...  args 
)
inline

Definition at line 57 of file store.hpp.

58 {
59 return sfinae(obj, 0, 0, std::forward<Args>(args)...);
60 }

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