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:18:06


#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):

 This is the same interface that `std::min` has.

     int const &x = std::min(0,1);

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