|
Boost : |
From: Eric Friedman (ebf_at_[hidden])
Date: 2003-08-30 21:05:42
Fernando Cacciola wrote:
[snip]
> Eric: Is it possible to promote reference_content to boost/detail (instead
> of boost/variant/detail) so it can be used by optional<>?
Done. See boost/detail/reference_content.hpp.
You probably want to use the provided metafunction, make_reference_content,
which will wrap in reference_content<> if and only if the specified type is
a reference.
Let me know if you have any problems.
Eric
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk