Re: [Boost-bugs] [Boost C++ Libraries] #12081: the minmax creates dangling references too easily

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12081: the minmax creates dangling references too easily
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-21 22:20:01


#12081: the minmax creates dangling references too easily
-------------------------------+---------------------------
  Reporter: anonymous | Owner: Marshall Clow
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: minmax
   Version: Boost 1.60.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by Marshall Clow):

> I think we should change the return type from tuple<T const&, T const&>
 to tuple<T,T>.

 That would add the requirement that `T` be copyable.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/12081#comment:2>
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 : 2018-02-21 22:27:58 UTC