Type trait to check if type is a template specialization. More...
#include <rtti.hpp>
Static Public Member Functions | |
| template<template< typename > class Template, typename X > | |
| static yes | _foo (Template< X > *) |
| static no | _foo (...) |
Static Public Attributes | |
| static constexpr nbool | is = sizeof(_foo((T*) 0)) == sizeof(yes) |
Additional Inherited Members | |
Public Types inherited from by::metaIf | |
| 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.