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 20.7.6.6 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.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk