Boost logo

Boost Users :

From: Cromwell Enage (sponage_at_[hidden])
Date: 2004-11-24 22:01:30


--- gast128 <gast128_at_[hidden]> wrote:
> >BOOST_MPL_ASSERT((boost::mpl::false_))
>
> This gives the same error on VC++ 7.1:
> "error C2143: syntax error : missing '}' before '('"

I'll admit the error message looks cryptic, but since
MSVC 7.1 is not my main development compiler, I
haven't griped about such things that much.

If you replace your function with

  void Testmpl6()
  {
    BOOST_MPL_ASSERT((boost::mpl::true_));
  }

will your code still fail to compile?

> I see in 'boost/mpl/assert.hpp' heavy use of the pp
> library, maybe it has to do with this. I do not get
> seriuos pp samples running on VC++ 7.1.

Many invocations of BOOST_PP_CAT are not what I'd call
"heavy use".

> Me.

Try posting your real name so I don't look like I'm
talking to myself when referring to you.

        
                
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail


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