Joel,
Joel de Guzman wrote:
[snip]
> Also, is there a reason why we can't allow:
>
> variant var;
Nothing fundamental no, just some additional metaprogramming ;) It's
supported now (see variant_reference_test).
See below for a note on the semantics of the resultant variant type, though.
>
Jaakko Jarvi <[EMAIL PROTECTED]> writes:
> I've noticed that call_traits doesn't support function references.
> I'm not sure whether it makes sense to store function references in
> optionals, though, but in any case.
>
> Something like this fails:
>
> typedef void (&afuncref)(int);
> typedef cal
"Joel de Guzman" <[EMAIL PROTECTED]> writes:
> optional::reset ( T const& ) ;
Does it matter what happens when T is an auto_ptr?
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
___
Unsubscribe & other changes: http://lists.boost.org/ma