|
Boost : |
From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2005-10-24 12:30:58
Hamish Mackenzie wrote:
>>
>
> I am kind of diving in here having not read much of the option< T & >
> stuff in this thread, but how about..
>
> o = make_optional( &rb );
>
No, that wouldn't work.
A reference can't be bound to an object indirectly through a pointer to it,
you need the object itself.
-- Fernando Cacciola SciSoft http://fcacciola.50webs.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk