AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::inlet::detail::is_inlet_primitive< T > Class Template Reference

A type trait for checking if a type is isomorphic to an Inlet primitive. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/inlet/Container.hpp>

Public Types

using BaseType = typename std::decay< T >::type
 

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
class axom::inlet::detail::is_inlet_primitive< T >

A type trait for checking if a type is isomorphic to an Inlet primitive.

A type trait for checking if a type is isomorphic to an array of Inlet primitives.

Template Parameters
TThe type to check
Note
An Inlet primitive is any of the following C++ types: int, double, bool, std::string.
See also
InletType
Template Parameters
TThe type to check

Member Typedef Documentation

◆ BaseType

template<typename T >
using axom::inlet::detail::is_inlet_primitive< T >::BaseType = typename std::decay<T>::type

Member Data Documentation

◆ value

template<typename T >
constexpr bool axom::inlet::detail::is_inlet_primitive< T >::value
staticconstexpr
Initial value:
= std::is_same<BaseType, bool>::value ||
std::is_same<BaseType, int>::value || std::is_same<BaseType, double>::value ||
std::is_same<BaseType, std::string>::value

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