[Boost-bugs] [Boost C++ Libraries] #5513: Dereference policy for optional

Subject: [Boost-bugs] [Boost C++ Libraries] #5513: Dereference policy for optional
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-30 23:32:20

#5513: Dereference policy for optional
 Reporter: Rob Riggs <rob+boost@…> | Owner: fcacciola
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: optional
  Version: Boost 1.46.1 | Severity: Not Applicable
 Keywords: |
 It would be useful to be able to specialize boost::optional's behavior
 when dereferencing uninitialized objects. I would like to be able to
 explicitly configure optional with a policy to have the either the current
 "undefined behavior" (BOOST_ASSERT) semantics or to throw an exception
 when attempting to dereference an uninitialized optional value.

 A patch containing the rough outline of the code changes required is

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