[Boost-bugs] [Boost C++ Libraries] #12721: intrusive key_of_value requires value to be returned by reference

Subject: [Boost-bugs] [Boost C++ Libraries] #12721: intrusive key_of_value requires value to be returned by reference
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-04 10:03:06


#12721: intrusive key_of_value requires value to be returned by reference
------------------------------+------------------------
 Reporter: mgaunard | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: intrusive
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
------------------------------+------------------------
 key_of_value requires the key to be returned by reference, this is an
 unnecessary limitation and prevents using types which return the key by
 value through an accessor.
 If the type is returned by value, one will get a warning about returning a
 reference to a local variable.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12721>
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