tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
is_trivially_destructible< T > Struct Template Reference

Compile-time check for trivially destructible types. More...

#include <simple_type_traits.h>

Static Public Attributes

static constexpr bool value = __has_trivial_destructor(T)
 

Detailed Description

template<typename T>
struct is_trivially_destructible< T >

Compile-time check for trivially destructible types.

Uses the compiler intrinsic __is_trivially_destructible (available on GCC, Clang, and MSVC) to avoid depending on <type_traits>.

Template Parameters
TType to test.

Member Data Documentation

◆ value

template<typename T >
constexpr bool is_trivially_destructible< T >::value = __has_trivial_destructor(T)
staticconstexpr

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