Boost logo

Boost :

Subject: Re: [boost] [constrained-value] with 1.43.0
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2010-05-06 13:41:57


vicente.botet wrote:

> ----- Original Message -----
> From: "Neal Becker" <ndbecker2_at_[hidden]>
> To: <boost_at_[hidden]>
> 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
No, no using namespace.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk