mirror of
https://github.com/boostorg/system.git
synced 2025-07-29 12:07:13 +02:00
Update documentation
This commit is contained in:
@ -8,6 +8,10 @@ https://www.boost.org/LICENSE_1_0.txt
|
||||
# Revision History
|
||||
:idprefix:
|
||||
|
||||
## Changes in Boost 1.79
|
||||
|
||||
* Added a `throw_exception_from_error` overload for `std::error_code`.
|
||||
|
||||
## Changes in Boost 1.78
|
||||
|
||||
* Added support for source locations to `error_code`.
|
||||
|
@ -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