mirror of
https://github.com/boostorg/optional.git
synced 2025-07-21 08:12:08 +02:00
Merge pull request #22 from a-n-t-h-o-n-y/Fix1
Fix Operator!= none_t Return Statement
This commit is contained in:
committed by
Andrzej Krzemienski
parent
5662f55ccf
commit
0035e60b1b
@ -1181,7 +1181,7 @@ __SPACE__
|
||||
[: `bool operator != ( optional<T> const& x, none_t ) noexcept;`]
|
||||
[: `bool operator != ( none_t, optional<T> const& x ) noexcept;`]
|
||||
|
||||
* [*Returns: ] `!( x == y );`
|
||||
* [*Returns: ] `bool(x);`
|
||||
|
||||
|
||||
__SPACE__
|
||||
@ -1268,4 +1268,4 @@ assert ( !optX );
|
||||
assert (addressof(*opt0) == addressof(y));
|
||||
``
|
||||
|
||||
[endsect]
|
||||
[endsect]
|
||||
|
Reference in New Issue
Block a user