Loading...
Searching...
No Matches
by::tifTemplate< T > Struct Template Reference

Type trait to check if type is a template specialization. More...

#include <rtti.hpp>

Inheritance diagram for by::tifTemplate< T >:
by::metaIf

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
 

Detailed Description

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

Type trait to check if type is a template specialization.

Uses SFINAE to determine if T is a template specialization at compile-time.


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