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::mpl::dynamic_buffer_size< T > Struct Template Reference

#include "timemory/mpl/filters.hpp"

+ Collaboration diagram for tim::mpl::dynamic_buffer_size< T >:

Public Member Functions

constexpr size_t operator() ()
 

Detailed Description

template<typename T>
struct tim::mpl::dynamic_buffer_size< T >

Definition at line 391 of file filters.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
constexpr size_t tim::mpl::dynamic_buffer_size< T >::operator() ( )
inlineconstexpr

Definition at line 393 of file filters.hpp.

394 {
395 return (std::is_pointer<T>::value) ? sizeof(std::remove_pointer_t<T>) : 0;
396 }

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