Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2007-01-04 17:25:06


Hi Michael,

> Hello,
>
> the following code fails using Boost 1.33.1, gcc version 3.4.2
> (mingw-special):
>
> boost::optional<double> x;
> x=boost::optional<float>(boost::none); // converting assignment
>
> with the following error message:
>
> Assertion failed: this->is_initialized(), file
> ...boost/optional/optional.hpp, line 531
>
Thank you for the report and the fix.

I'll integrate it next week.

Best regards

-- 
------
Fernando Cacciola
SciSoft
http://certuscode.wordpress.com
http://fcacciola.50webs.com
http://fcacciola.wordpress.com

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