tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_trivial< T > Struct Template Reference

If T is TrivialType (that is, a scalar type, a trivially copyable class with a trivial default constructor, or array of such type/class, possibly cv-qualified), provides the member constant value equal to true. For any other type, value is false. More...

#include <is_trivial.hpp>

Inheritance diagram for is_trivial< T >:
integral_constant< bool, B >

Additional Inherited Members

- Public Types inherited from integral_constant< bool, B >
using type
 
using type
 
using value_type
 
using value_type
 
- Public Member Functions inherited from integral_constant< bool, B >
constexpr operator value_type () const noexcept
 
constexpr operator value_type () const noexcept
 
constexpr auto operator() () const noexcept -> value_type
 
constexpr auto operator() () const noexcept -> value_type
 
- Static Public Attributes inherited from integral_constant< bool, B >
static constexpr bool value
 
static constexpr bool value
 

Detailed Description

template<typename T>
struct etl::is_trivial< T >

If T is TrivialType (that is, a scalar type, a trivially copyable class with a trivial default constructor, or array of such type/class, possibly cv-qualified), provides the member constant value equal to true. For any other type, value is false.

https://en.cppreference.com/w/cpp/types/is_trivial


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