forked from boostorg/system
Revert operator bool() to its pre-failed value() != 0 meaning
This commit is contained in:
1 parent
9753cf7668
commit
3164b387a5
3 files changed
+11
-11
No files matched your search
@@ -626,7 +626,7 @@ constexpr explicit operator bool() const noexcept;
|
||||
[none]
|
||||
* {blank}
|
||||
+
|
||||
Returns: :: `failed()`.
|
||||
Returns: :: `val_ != 0`.
|
||||
|
||||
```
|
||||
operator std::error_code() const;
|
||||
@@ -789,7 +789,7 @@ constexpr explicit operator bool() const noexcept;
|
||||
[none]
|
||||
* {blank}
|
||||
+
|
||||
Returns: :: `failed()`.
|
||||
Returns: :: `val_ != 0`.
|
||||
|
||||
```
|
||||
operator std::error_condition() const;
|
||||
|
||||
Reference in new issue
Block a user