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

concept that specifies that a type is a component. Components are used to perform some measurement, capability, or logging implementation. Adding this concept can be performs through inheriting from tim::component::base, inheriting from tim::concepts::component, or specializing either tim::concepts::is_component or tim::trait::is_component (with the latter being deprecated). More...

#include "timemory/mpl/concepts.hpp"

+ Collaboration diagram for tim::concepts::is_component< Tp >:

Public Types

using type = std::conditional_t< value, true_type, false_type >
 

Static Public Attributes

static constexpr bool value = test<Tp>(int{})
 

Detailed Description

template<typename Tp>
struct tim::concepts::is_component< Tp >

concept that specifies that a type is a component. Components are used to perform some measurement, capability, or logging implementation. Adding this concept can be performs through inheriting from tim::component::base, inheriting from tim::concepts::component, or specializing either tim::concepts::is_component or tim::trait::is_component (with the latter being deprecated).

Definition at line 225 of file concepts.hpp.

Member Typedef Documentation

◆ type

template<typename Tp >
using tim::concepts::is_component< Tp >::type = std::conditional_t<value, true_type, false_type>

Definition at line 257 of file concepts.hpp.

Member Data Documentation

◆ value

template<typename Tp >
constexpr bool tim::concepts::is_component< Tp >::value = test<Tp>(int{})
staticconstexpr

Definition at line 256 of file concepts.hpp.


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