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

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

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

Public Types

using type = Tp
 

Public Member Functions

 pop_node (type &obj)
 
template<typename Arg , typename... Args>
 pop_node (type &obj, Arg &&arg, Args &&... args)
 
auto operator() (type &obj) const
 
template<typename Arg , typename... Args>
auto operator() (type &obj, Arg &&arg, Args &&... args) const
 

Detailed Description

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

Definition at line 167 of file node.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 169 of file node.hpp.

Constructor & Destructor Documentation

◆ pop_node() [1/2]

template<typename Tp >
tim::operation::pop_node< Tp >::pop_node ( type obj)
inlineexplicit

Definition at line 173 of file node.hpp.

173{ (*this)(obj); }

◆ pop_node() [2/2]

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

Definition at line 176 of file node.hpp.

177 {
178 (*this)(obj, std::forward<Arg>(arg), std::forward<Args>(args)...);
179 }

Member Function Documentation

◆ operator()() [1/2]

template<typename Tp >
auto tim::operation::pop_node< Tp >::operator() ( type obj) const
inline

Definition at line 181 of file node.hpp.

181{ return sfinae(obj, 0, 0, 0); }

◆ operator()() [2/2]

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

Definition at line 184 of file node.hpp.

185 {
186 return sfinae(obj, 0, 0, 0, std::forward<Arg>(arg), std::forward<Args>(args)...);
187 }

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