Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1724: [ref] DefaultConstructible
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-26 07:37:38
#1724: [ref] DefaultConstructible
--------------------------------------------+------------------------------
Reporter: Shunsuke Sogame <pstade.mb@â¦> | Owner: ebf
Type: Feature Requests | Status: closed
Milestone: Boost 1.36.0 | Component: variant
Version: Boost Development Trunk | Severity: Problem
Resolution: invalid | Keywords: ref
| reference_wrapper
--------------------------------------------+------------------------------
Changes (by apolukhin):
* status: new => closed
* resolution: => invalid
Comment:
If you are talking about the `boost::recursive_wrapper<T>`, which is part
of the Boost.Variant library, then it is already default constructible.
If you are talking about `boost::reference_wrapper<T>` then this is not
possible. `boost::reference_wrapper<T>` must behave exactly like a
reference and you can not default construct a reference in C++.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/1724#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC