static_if_simple 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


Detailed Description

template<bool b, typename T, typename U>
struct utility::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 141 of file static.hh.


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