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: N3982
Date: 2014-04-03
Rvalue reference overloads for optional
by Andrzej Krzemieński
Excerpt:
...
optional
is just missing the rvalue reference overloads for these functions. This is what this proposal intends to fix: add rvalue reference overloads for member functions value andoperator*
(not foroperator->
, because it appears not to be implementable). I consider it a bug fix rather than a new feature, primarily because such an overload already exists and has been approved for functionvalue_or
. This is why I propose to fix it still in the first version of Fundamentals TS.
Add a Comment
Comments are closed.