A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3793
Date: 2013-10-03
A proposal to add a utility class to represent optional objects (Revision 5)
by Fernando Cacciola, Andrzej Krzemieński
Excerpt:
Class template
optional<T>
proposed here is a type that may or may not store a value of typeT
in its storage space. Its interface allows to query if a value of typeT
is currently stored, and if so, to access it. The interface is based on Fernando Cacciola's Boost.Optional library, shipping since March, 2003, and widely used. It requires no changes to core language, and breaks no existing code.
Add a Comment
Comments are closed.