mirror of
https://github.com/boostorg/system.git
synced 2025-08-02 13:54:28 +02:00
Minor documentation corrections
This commit is contained in:
@@ -725,7 +725,7 @@ constexpr void assign( int val, const error_category & cat ) noexcept;
|
|||||||
[none]
|
[none]
|
||||||
* {blank}
|
* {blank}
|
||||||
+
|
+
|
||||||
Effects: :: `*this = error_code( val, cat );`.
|
Effects: :: `*this = error_code( val, cat )`.
|
||||||
|
|
||||||
```
|
```
|
||||||
void assign( int val, const error_category & cat,
|
void assign( int val, const error_category & cat,
|
||||||
@@ -734,7 +734,7 @@ void assign( int val, const error_category & cat,
|
|||||||
[none]
|
[none]
|
||||||
* {blank}
|
* {blank}
|
||||||
+
|
+
|
||||||
Effects: :: `*this = error_code( val, cat, loc );`.
|
Effects: :: `*this = error_code( val, cat, loc )`.
|
||||||
|
|
||||||
```
|
```
|
||||||
template<typename ErrorCodeEnum>
|
template<typename ErrorCodeEnum>
|
||||||
@@ -753,7 +753,7 @@ constexpr void clear() noexcept;
|
|||||||
* {blank}
|
* {blank}
|
||||||
+
|
+
|
||||||
Effects: ::
|
Effects: ::
|
||||||
`*this = error_code();`.
|
`*this = error_code()`.
|
||||||
|
|
||||||
#### Observers
|
#### Observers
|
||||||
|
|
||||||
@@ -1700,8 +1700,8 @@ template<class Ch, class Tr, class T, class E>
|
|||||||
* {blank}
|
* {blank}
|
||||||
+
|
+
|
||||||
Effects: ::
|
Effects: ::
|
||||||
- If `*this` holds a value `t`, `os << "value:" << t;`.
|
- If `*this` holds a value `t`, `os << "value:" << t`.
|
||||||
- If `*this` holds an error `e`, `os << "error:" << e;`.
|
- If `*this` holds an error `e`, `os << "error:" << e`.
|
||||||
Returns: ::
|
Returns: ::
|
||||||
`os`.
|
`os`.
|
||||||
|
|
||||||
@@ -1943,8 +1943,8 @@ template<class Ch, class Tr, class E>
|
|||||||
* {blank}
|
* {blank}
|
||||||
+
|
+
|
||||||
Effects: ::
|
Effects: ::
|
||||||
- If `*this` holds a value, `os << "value:void";`.
|
- If `*this` holds a value, `os << "value:void"`.
|
||||||
- If `*this` holds an error `e`, `os << "error:" << e;`.
|
- If `*this` holds an error `e`, `os << "error:" << e`.
|
||||||
Returns: ::
|
Returns: ::
|
||||||
`os`.
|
`os`.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user