Boost logo

Boost Users :

Subject: Re: [Boost-users] MSVC++ 2010 and BOOST_STATIC_ASSERT
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-11-01 19:20:05


AMDG

On 11/01/2011 02:52 PM, Sunil Thomas wrote:
> I've noticed that MSVC++ 2010 has implemented static_assert (compile time
> checks); and probably
> as a result, the code that used to build fine in MSVC++ 2008 is now
> generating the following error.
>
> code:
>
> BOOST_STATIC_ASSERT(N==1)
> *error C2338: (N==1)*
> **
>
> Appreciate if anyone who has resolved this error can share their
> experiences..
>

This code is obviously not complete.
The error indicates that N is not 1.
You haven't provided any context.

In Christ,
Steven Watanabe


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