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

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

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

Public Types

using type = Tp
 

Public Member Functions

 set_state (type &obj, component::base_state *_data)
 
auto operator() (type &obj, component::base_state *_data)
 

Detailed Description

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

Definition at line 188 of file set.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 190 of file set.hpp.

Constructor & Destructor Documentation

◆ set_state()

template<typename Tp >
tim::operation::set_state< Tp >::set_state ( type obj,
component::base_state _data 
)

Definition at line 219 of file set.hpp.

220{
221 sfinae(obj, 0, _data);
222}

Member Function Documentation

◆ operator()()

template<typename Tp >
auto tim::operation::set_state< Tp >::operator() ( type obj,
component::base_state _data 
)
inline

Definition at line 196 of file set.hpp.

197 {
198 return sfinae(obj, 0, _data);
199 }

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