Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2007-03-01 16:39:40


Joe Gottman wrote:
> Fernando Cacciola wrote:
>> Hi Joe,
>>
>>> I've discovered that you can't use the arrow operator with an
>>> object
>>> of type optional<T &>; For instance , the following code fails:
>>>
>>> vector<double> v;
>>> optional<vector<double> &> pv(v);
>>> pv->push_back(2);
>>>
>>> The code
>>>
>>> (*pv).push_back(2)
>>>
>>> succeeds.
>>>
>> Thanks for the report.
>>
>> I'll look into it ASAP.
>
> Has there been any progress on fixing this problem? It would be great
> if this could be fixed for version 1.34 (I definitely consider it to
> be
> a bug).
>
Sorry for the long delay.

I just commited the fix to RC_1_34_0, just right on time before the code
freeze tonight.

Best

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