|
Boost : |
Subject: [boost] [type_traits] conditional transformation
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-09-21 16:31:58
Hi,
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?
Thanks,
_____________________
Vicente Juan Botet Escribá
http://viboes.blogspot.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk