로딩중...
검색중...
일치하는것 없음
by::tifHasDefaultCtor< T > 구조체 템플릿 참조

Type trait to check if type has default constructor 더 자세히 ...

#include <rtti.hpp>

by::tifHasDefaultCtor< T >에 대한 상속 다이어그램 :
by::metaIf

정적 Public 멤버 함수

template<typename X , typename = decltype(X())>
static yes test (X *)
 
template<typename X >
static no test (...)
 

정적 Public 속성

static constexpr nbool is = sizeof(decltype(test<T>(nullptr))) == sizeof(yes)
 

추가로 상속된 멤버들

- by::metaIf(으)로부터 상속된 Public 타입
typedef short yes
 
typedef char no
 

상세한 설명

template<typename T>
struct by::tifHasDefaultCtor< T >

Type trait to check if type has default constructor

Uses SFINAE to determine at compile-time whether type T can be default-constructed.


이 구조체에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: