Boost logo

Boost :

Subject: Re: [boost] An extension to boost::variant
From: Chandrashekhar Kumar (iitk.cs_at_[hidden])
Date: 2009-02-09 16:00:17


>
> reference_wrapper *almost* does what I want it to, but it requires
> conscious effort on behalf of the user.
>

Yes, if the user here is user of the variant: that is you.

No, if the user here is user of your code: of course you will develop
skeleton wrapper over variant (in 3-5 lines) before giving it the user of
your code.

In Heaven,
-Cat


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