|
Boost : |
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-07-04 00:45:53
David B. Held wrote:
> That was a really dumb question. Of course is_empty<> works for
> bcc. What I really want is a set of type_traits that traffics in
true_type
> and false_type instead of BOOST_STATIC_CONSTANTs.
FYI, I just started working on converting all type_traits templates to MPL's
metafunction model, so you can do 'is_empty<T>::type' (as well as
'is_empty<T>::value', of course). I am going to check the refactoring into
the CVS mpl_v2 branch later today.
Aleksey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk