From 1c31338da35aed9eb9349c4d3bdb2b575e7e6b44 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 9 Sep 2016 18:16:02 -0500 Subject: [PATCH] Fix Operator!= none_t Return Statement --- doc/28_ref_optional_semantics.qbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/28_ref_optional_semantics.qbk b/doc/28_ref_optional_semantics.qbk index 31dc178..78a628c 100644 --- a/doc/28_ref_optional_semantics.qbk +++ b/doc/28_ref_optional_semantics.qbk @@ -1181,7 +1181,7 @@ __SPACE__ [: `bool operator != ( optional const& x, none_t ) noexcept;`] [: `bool operator != ( none_t, optional const& x ) noexcept;`] -* [*Returns: ] `!( x == y );` +* [*Returns: ] `bool(x);` __SPACE__ @@ -1268,4 +1268,4 @@ assert ( !optX ); assert (addressof(*opt0) == addressof(y)); `` -[endsect] \ No newline at end of file +[endsect]