Re: [Boost-bugs] [Boost C++ Libraries] #12203: boost::optional<optional<T>&> broken in 1.61.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12203: boost::optional<optional<T>&> broken in 1.61.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-13 15:50:03


#12203: boost::optional<optional<T>&> broken in 1.61.0
-------------------------------+---------------------
  Reporter: benzejaa@… | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by anonymous):

 For posterity, here's a reproducer:


 {{{
 #include<boost/optional.hpp>

 int main()
 {
    boost::optional<int> x;
    boost::optional<boost::optional<int>&> y(x); //compile error
    return 0;
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12203#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:20 UTC