forked from boostorg/system
Update documentation
This commit is contained in:
1 parent
a5d68e52e6
commit
cf9d986871
2 files changed
+14
No files matched your search
@@ -1455,6 +1455,7 @@ namespace system {
|
||||
// throw_exception_from_error
|
||||
|
||||
BOOST_NORETURN inline void throw_exception_from_error( error_code const & e );
|
||||
BOOST_NORETURN inline void throw_exception_from_error( std::error_code const & e );
|
||||
|
||||
// in_place_*
|
||||
|
||||
@@ -1494,6 +1495,15 @@ BOOST_NORETURN inline void throw_exception_from_error( error_code const & e );
|
||||
Effects: ::
|
||||
`boost::throw_exception( system_error( e ) )`.
|
||||
|
||||
```
|
||||
BOOST_NORETURN inline void throw_exception_from_error( std::error_code const & e );
|
||||
```
|
||||
[none]
|
||||
* {blank}
|
||||
+
|
||||
Effects: ::
|
||||
`boost::throw_exception( std::system_error( e ) )`.
|
||||
|
||||
### result<T, E>
|
||||
|
||||
`result<T, E>` stores either a value of type `T`, or an error of type `E`. `E` defaults
|
||||
|
||||
Reference in new issue
Block a user