Instigate Open Source Documentation

instigate::scripting::generic::select< b, T, M > Struct Template Reference

suppose we have More...

#include <select.hpp>

List of all members.

Public Types

typedef T result_type

Detailed Description

template<bool b, typename T, typename M>
struct instigate::scripting::generic::select< b, T, M >

suppose we have

 template <bool b, typename A, typename B>
 struct A
 {
        // here want to take as result_type A if b == true or B if b == false;
        // with select we can solve it very easy
        typedef select<b, A, B>::result_type result_type;
 };

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


© Instigate CJSC, Open Source