Re: [Boost-bugs] [Boost C++ Libraries] #7718: Basic rvalue and C++11 support (part 2)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7718: Basic rvalue and C++11 support (part 2)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-20 12:05:12


#7718: Basic rvalue and C++11 support (part 2)
---------------------------+------------------------------------------------
  Reporter: apolukhin | Owner: ebf
      Type: Patches | Status: closed
 Milestone: Boost 1.53.0 | Component: variant
   Version: Boost 1.52.0 | Severity: Optimization
Resolution: fixed | Keywords:
---------------------------+------------------------------------------------
Changes (by apolukhin):

  * status: reopened => closed
  * resolution: => fixed
  * milestone: To Be Determined => Boost 1.53.0

Comment:

 This issue was discussed in
 [http://lists.boost.org/Archives/boost/2013/01/200014.php mainling lists].
 If in short we have to choose between thre solutions:[[BR]]
 1) leave as is (slow move construction)[[BR]]
 2) allow empty state (fast, but breaks users code and variant
 guarantees)[[BR]]
 3) after move, do lazy default construction of value on request (fast, but
 adds default construction requirement for type and functions get() and
 get_ptr() may throw)[[BR]]

 There were more votes for solution 1.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7718#comment:8>
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:11 UTC