
----- Original Message ----- From: "Neal Becker" <ndbecker2@gmail.com> To: <boost@lists.boost.org> Sent: Thursday, May 06, 2010 4:57 PM Subject: [boost] [constrained-value] with 1.43.0
I found my code using constrained_value compiles with boost-1.42.0, but not with 1.43.0. Rather mysterious error message:
/usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:64: error: 'template<class ExceptionType> struct boost::constrained_value::throw_exception' is not a function, /usr/local/src/boost.hg/boost/throw_exception.hpp:74: error: conflict with 'template<class E> void boost::throw_exception(const E&)' /usr/local/src/boost.hg/boost/throw_exception.hpp:54: error: in call to 'throw_exception' scons: *** [mod/fixed_pt.os] Error 1
Have you using namespace statements, such as using namespace boost::constrained_value; or using namespace boost; Best, Vicente