HTTP v1.13.1
Loading...
Searching...
No Matches
utility::checkInitializerListConstructor< dataContainer > Class Template Reference

#include <CheckAtCompileTime.h>

Public Types

enum  { value = type::value }
 
using type = decltype(checked<dataContainer>(0))
 

Static Protected Member Functions

template<typename T >
static constexpr decltype(T(std::begin(T()), std::end(T())), std::true_type()) checked (int)
 
template<typename >
static constexpr std::false_type checked (...)
 

Detailed Description

template<typename dataContainer>
class utility::checkInitializerListConstructor< dataContainer >

Definition at line 55 of file CheckAtCompileTime.h.

Member Typedef Documentation

◆ type

template<typename dataContainer >
using utility::checkInitializerListConstructor< dataContainer >::type = decltype(checked<dataContainer>(0))

Definition at line 65 of file CheckAtCompileTime.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename dataContainer >
anonymous enum
Enumerator
value 

Definition at line 66 of file CheckAtCompileTime.h.

Member Function Documentation

◆ checked() [1/2]

template<typename dataContainer >
template<typename >
static constexpr std::false_type utility::checkInitializerListConstructor< dataContainer >::checked ( ...)
staticconstexprprotected

◆ checked() [2/2]

template<typename dataContainer >
template<typename T >
static constexpr decltype(T(std::begin(T()), std::end(T())), std::true_type()) utility::checkInitializerListConstructor< dataContainer >::checked ( int )
staticconstexprprotected

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