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::trait::uses_value_storage< T, V, A > Struct Template Reference

This trait is used to determine whether the (expensive) instantiation of the storage class happens. More...

#include "timemory/mpl/type_traits.hpp"

+ Collaboration diagram for tim::trait::uses_value_storage< T, V, A >:

Public Types

using value_type = V
 

Static Public Attributes

static constexpr bool avail_v = (A::value && trait::is_available<T>::value)
 
static constexpr bool output_v = trait::generates_output<T, value_type>::value
 
static constexpr bool value = (avail_v && output_v)
 

Detailed Description

template<typename T, typename V, typename A>
struct tim::trait::uses_value_storage< T, V, A >

This trait is used to determine whether the (expensive) instantiation of the storage class happens.

Definition at line 952 of file type_traits.hpp.

Member Typedef Documentation

◆ value_type

template<typename T , typename V , typename A >
using tim::trait::uses_value_storage< T, V, A >::value_type = V

Definition at line 954 of file type_traits.hpp.

Member Data Documentation

◆ avail_v

template<typename T , typename V , typename A >
constexpr bool tim::trait::uses_value_storage< T, V, A >::avail_v = (A::value && trait::is_available<T>::value)
staticconstexpr

Definition at line 955 of file type_traits.hpp.

◆ output_v

template<typename T , typename V , typename A >
constexpr bool tim::trait::uses_value_storage< T, V, A >::output_v = trait::generates_output<T, value_type>::value
staticconstexpr

Definition at line 956 of file type_traits.hpp.

◆ value

template<typename T , typename V , typename A >
constexpr bool tim::trait::uses_value_storage< T, V, A >::value = (avail_v && output_v)
staticconstexpr

Definition at line 957 of file type_traits.hpp.


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