Boost logo

Boost Users :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-03-20 20:27:31


Christian Henning wrote:
> Thanks for the support. Even BOOST_STATIC_ASSERT isn't working.
>
> #include <boost/static_assert.hpp>
> #include <boost/fusion/sequence.hpp>
>
> int _tmain(int argc, _TCHAR* argv[])
> {
> typedef boost::fusion::map< boost::fusion::pair<int, char>
> , boost::fusion::pair<char, char>
> , boost::fusion::pair<double, char>
> > mymap;
>
> BOOST_STATIC_ASSERT(( boost::is_same< char, char >));
>
> return 0;
> }

'::value' seems missing.
Well, IIRC, Boost1.34 MPL_ASSERT has a problem around __LINE__
under IDE.
That was fixed with CVS Head. But I'm not sure.

-- 
Shunsuke Sogame

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net