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-21 06:58:53


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

Comment (by djowel):

 BTW, that "No" is in reply to "won't the user be confused by v2 holding an
 int (instead of recursive_wrapper)?".

 Perhaps there's a way to implement it without friend access, but I'm not
 sure. Anyway, the extra code is mostly TMP code for checking the the
 "blank" type.

 nullable_recursive_wrapper is a good idea, but there's this extra check
 for null on all access that makes it less optimal. And that null check
 will be there to make the 0.0000001% of the cases happy. I don't know what
 you mean by lazy_recursive_wrapper. Same thing? As for unique/shared_ptr,
 AFAICT, they won't work as plug-in replacements.

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