mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 12:07:21 +02:00
Fix Operator!= none_t Return Statement
This commit is contained in:
@ -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