C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::detail::is_primitive< T > Struct Template Reference

Checks whether T is primitive, i.e., either an arithmetic type or convertible to one of STL's string types. More...

#include <type_traits.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<class T>
struct caf::detail::is_primitive< T >

Checks whether T is primitive, i.e., either an arithmetic type or convertible to one of STL's string types.

Member Data Documentation

◆ value

template<class T >
bool caf::detail::is_primitive< T >::value
staticconstexpr
Initial value:
= std::is_convertible_v<T, std::string>
|| std::is_convertible_v<T, std::u16string>
|| std::is_convertible_v<T, std::u32string>
|| std::is_arithmetic_v<T>

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