static_if Struct Template Reference
[Miscellaneous constructs used by VaucansonMiscellaneous constructs used by 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 vcsn::misc::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 89 of file static.hh.


Generated on Wed Jun 13 17:03:36 2007 for Vaucanson by  doxygen 1.5.1