Boost logo

Boost :

From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2003-11-09 21:22:11


Matthias Schabel <boost_at_[hidden]> writes:
>> Matthias Schabel wrote:

> Should the following code compile? I think so, based on your suggestion, but
> gcc 3.3 fails (I'm running on
> Mac OS 10.3) at the static assert...

[snip]
        
> BOOST_STATIC_ASSERT((boost::is_same<b1,boost::mpl::true_>::value == true));
                                  
You should use boost::mpl::equal_to here instead of is_same.

-- 
Jeremy Maitin-Shepard

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