forked from boostorg/system
Update documentation
This commit is contained in:
@ -8,6 +8,10 @@ https://www.boost.org/LICENSE_1_0.txt
|
|||||||
# Revision History
|
# Revision History
|
||||||
:idprefix:
|
:idprefix:
|
||||||
|
|
||||||
|
## Changes in Boost 1.79
|
||||||
|
|
||||||
|
* Added a `throw_exception_from_error` overload for `std::error_code`.
|
||||||
|
|
||||||
## Changes in Boost 1.78
|
## Changes in Boost 1.78
|
||||||
|
|
||||||
* Added support for source locations to `error_code`.
|
* Added support for source locations to `error_code`.
|
||||||
|
@ -1455,6 +1455,7 @@ namespace system {
|
|||||||
// throw_exception_from_error
|
// throw_exception_from_error
|
||||||
|
|
||||||
BOOST_NORETURN inline void throw_exception_from_error( error_code const & e );
|
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_*
|
// in_place_*
|
||||||
|
|
||||||
@ -1494,6 +1495,15 @@ BOOST_NORETURN inline void throw_exception_from_error( error_code const & e );
|
|||||||
Effects: ::
|
Effects: ::
|
||||||
`boost::throw_exception( system_error( e ) )`.
|
`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>
|
||||||
|
|
||||||
`result<T, E>` stores either a value of type `T`, or an error of type `E`. `E` defaults
|
`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