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

#include <evo/meta.h>

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

Detailed Description

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

Check if integer type is unsigned.

Value member holds result.

Template Parameters
TType to check.
Example
bool b1 = IsSigned<unsigned char>::value; // false
bool b2 = IsSigned<int>::value; // true
bool b3 = IsSigned<float>::value; // true
bool b4 = IsSigned<unsigned int>::value; // false
bool b5 = IsSigned<double>::value; // true

Public Types

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

Static Public Attributes

static const bool value = val
 Result value. More...
 

Member Typedef Documentation

◆ Type

typedef evo::StaticBool<val> Type
inherited

This type.

Member Data Documentation

◆ value

const bool value = val
staticinherited

Result value.


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