suppose we have More...
#include <select.hpp>
Public Types | |
typedef T | result_type |
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; };