Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-11-05 20:06:17


David Abrahams wrote:
> In order to work around this bug, I had to make the enclosed local
> patch to boost/type_traits/detail/bool_trait_def.hpp. I didn't check
> it in because it wasn't absolutely clear to me that it was
> legit. Aleksey, please comment:

The inheritance from 'mpl::bool_c<>', by itself, is not required, so the
patch is OK in this regard, but then we need to define the 'type' typedef
manually (to make the trait a proper metafunction). Oh, and we need to
#undef the new macros in "bool_trait_undef.hpp". Corrected diffs attached.

Aleksey





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