Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-05 20:07:57


Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:

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

I suggest you go ahead and apply them. I'm not working on the Sun port
at the moment, and don't currently have access to the machine on which
to do the testing. When the time comes, it would be helpful not to
have to clear this hurdle again.

-- 
                    David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com

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