static_if_simple 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


Detailed Description

template<bool b, typename T, typename U>
struct vcsn::misc::static_if_simple< b, T, U >

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

The classical static_if cannot choose between a type T and void because of its choose () methods which take references. This one is much simpler and require no conditions on types. However, it has no choose method.

Author:
Thomas Claveirole <thomas.claveirole@lrde.epita.fr>
See also:
static_if

Definition at line 165 of file static.hh.


Generated on Sat Jul 29 17:32:34 2006 for Vaucanson by  doxygen 1.4.6