Boost logo

Boost Users :

Subject: Re: [Boost-users] [optional] operator <<
From: Igor R (boost.lists_at_[hidden])
Date: 2009-02-19 11:40:38


>
>
> I've just noticed that the following code might be missleading:
>>
>> boost::optional<int> opt;
>> opt = 0;
>> std::cout << opt;
>>
>
> It's a known bug, but there's a patch to fix it in Trac:
> https://svn.boost.org/trac/boost/ticket/2103
>

Ok, I see now...
Thank you.



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