select_first_type_if Struct Template Reference
[Template Meta-programming Library]

#include <stlsoft/meta/select_first_type_if.hpp>

List of all members.

Detailed Description

template<typename T1, typename T2, bool B>
struct stlsoft::select_first_type_if< T1, T2, B >

Compile-time if component.

This template provides compile-time type selection between the two types specified in its first two parameters, based on a (compile-time) boolean value specified as its third parameter. If the third parameter evaluates to non-zero, then the member type type is defined to be equivalent to the first type, otherwise it is defined to be equivalent to the second.

Public Types

typedef T1 type
 The selected type.

Member Typedef Documentation

typedef T1 type

The selected type.

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

Generated on Thu Jun 10 08:58:55 2010 for STLSoft by  doxygen 1.5.6