libyuni
Public Types | Static Public Member Functions | List of all members
Yuni::Static::If< b, IfTrue, IfFalse > Struct Template Referencefinal

Choose statically between two types. More...

#include <if.h>

Public Types

typedef IfTrue ResultType
 
typedef IfTrue Type
 
typedef Remove::All< IfTrue >::Type RetTrue
 
typedef Remove::All< IfFalse >::Type RetFalse
 

Static Public Member Functions

static RetTrue & choose (RetTrue &tr, RetFalse &)
 
static const RetTrue & choose (const RetTrue &tr, const RetFalse &)
 

Detailed Description

template<bool b, typename IfTrue, typename IfFalse>
struct Yuni::Static::If< b, IfTrue, IfFalse >

Choose statically between two types.

#include <yuni/yuni.h>
#include <yuni/core/static/if.h>
template<bool x86_64>
class IntWrapper
{
public:
};

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