Evo C++ Library v0.5.1
Public Types | Static Public Attributes | List of all members
IsNormalType< T > Struct Template Reference

#include <evo/meta.h>

Inheritance diagram for IsNormalType< T >:
Inheritance graph
[legend]

Detailed Description

template<class T>
struct evo::IsNormalType< T >

Check if type is a normal type (not POD and not ByteCopy type).

Value member holds result.

Template Parameters
TType to check
Example
struct Foo { };
struct Bar { };
bool b1 = IsNormalType<char>::value; // false
bool b2 = IsNormalType<Foo*>::value; // false
bool b3 = IsNormalType<Foo>::value; // false
bool b4 = IsNormalType<Bar*>::value; // false
bool b5 = IsNormalType<Bar>::value; // true

Public Types

typedef evo::StaticBool< val > Type
 This type. More...
 

Static Public Attributes

static const bool value
 Result value. More...
 

Member Typedef Documentation

◆ Type

typedef evo::StaticBool<val> Type
inherited

This type.

Member Data Documentation

◆ value

const bool value
staticinherited

Result value.


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