static_if Struct Template Reference
[Utility constructs for VaucansonUtility constructs for Vaucanson]

Choose between two types or values depending on a constant Boolean. More...

List of all members.

Public Types

typedef T t
typedef remove_const < typename
remove_reference< T >::t
>::t 
bare_t1
typedef remove_const < typename
remove_reference< U >::t
>::t 
bare_t2

Static Public Member Functions

static bare_t1choose (bare_t1 &p1, bare_t2 &)
static const bare_t1choose (const bare_t1 &p1, const bare_t2 &)


Detailed Description

template<bool b, typename T, typename U>
struct utility::static_if< b, T, U >

Choose between two types or values depending on a constant Boolean.

Author:
Raphael Poss <raph@lrde.epita.fr>
See also:
static_if_simple

Definition at line 88 of file static.hh.


Generated on Fri Jul 28 12:33:31 2006 for Vaucanson by  doxygen 1.4.6