Boost logo

Boost Users :

Subject: [Boost-users] MSVC++ 2010 and BOOST_STATIC_ASSERT
From: Sunil Thomas (sgthomas27_at_[hidden])
Date: 2011-11-01 17:52:55


Hi all!

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

Thanks,
--Thomas.
**



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