constant_type< T, v > Struct Template Reference

#include <type_traits.h>

Public Types

typedef T value_t
 
typedef constant_type< T, v > * pointer_t
 

Public Member Functions

 operator value_t () const
 
value_t operator() () const
 

Static Public Member Functions

static value_t value ()
 
static pointer_t null ()
 

Detailed Description

template<typename T, T v>
struct illumina::interop::constant_type< T, v >

Define a constant of an arbitray type

Member Typedef Documentation

typedef constant_type<T, v>* pointer_t

Define the pointer type

typedef T value_t

Define the value type

Member Function Documentation

static pointer_t null ( )
inlinestatic

Null pointer type

Returns
null pointer
operator value_t ( ) const
inline

Get the value of the constant type

Returns
value
value_t operator() ( ) const
inline

Get the value of the constant type

Returns
value
static value_t value ( )
inlinestatic

Get the value of the constant type

Returns
value

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