Type trait to check if type is a template specialization 더 자세히 ...
#include <rtti.hpp>
정적 Public 멤버 함수 | |
| template<template< typename > class Template, typename X > | |
| static yes | _foo (Template< X > *) |
| static no | _foo (...) |
정적 Public 속성 | |
| static constexpr nbool | is = sizeof(_foo((T*) 0)) == sizeof(yes) |
추가로 상속된 멤버들 | |
by::metaIf(으)로부터 상속된 Public 타입 | |
| typedef short | yes |
| typedef char | no |
Type trait to check if type is a template specialization
Uses SFINAE to determine if T is a template specialization at compile-time.