Boost logo

Boost :

Subject: Re: [boost] [type_traits] conditional transformation
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-09-22 04:14:06

>In Other transformations [meta.trans.other] C++0x introduce a
>conditional template that is equicalent to mpl::if_c
>template <bool B, class T, class F> struct conditional;
>If B is true, the member typedef type shall equal T. If B is false, the
>member typedef type shall equal F.
>Could this be added to the Boost.TypeTraits?

Will do.


Boost list run by bdawes at, gregod at, cpdaniel at, john at