[Boost-bugs] [Boost C++ Libraries] #2159: release()

Subject: [Boost-bugs] [Boost C++ Libraries] #2159: release()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-01 11:07:06


#2159: release()
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: fcacciola
     Type: Feature Requests | Status: new
Milestone: Boost 1.36.0 | Component: optional
  Version: Boost 1.35.0 | Severity: Optimization
 Keywords: |
------------------------------+---------------------------------------------
 I propose the addition of a new function to the boost::optional class.

 T & release()

 This function should reset() the internal value, and return it. It should
 throw if the optional does not contain any internal T.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2159>
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:49:58 UTC