Boost logo

Boost :

From: cppljevans_at_[hidden]
Date: 2003-10-04 08:29:02


On 10/01/2003 09:17 PM, Fernando Cacciola wrote:
[snip]
> FWIW, this is already supported by Boost.Optional.
> The syntax is: in_place(a0,a1,a2), or in_place<T>(a0,a1,a2) for Variant.
> The code is already in main CVS: boost/detail/in_place_factory.hpp and typed_inplace_factory.hpp
I can only see:
   in_place_factory_prefix.hpp
   in_place_factory_suffix.hpp
However, despite your example, I couldn't tell how to use it since there
are no template's in the above mentioned files. Could you provide
some test code and documentation?


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