You are viewing the master version of this library.
The master and develop pages are shown here to provide access to the newest in-development in-progress documentation. See the "Documentation" link on this page.
Other aspects of the page will reflect the previous official version, or not be available until the next release.
The Boost.System library, part of Boost C++ Libraries,
implements an extensible framework for error reporting in the form of an
error_code class and supporting facilities.
It has been proposed for the C++11 standard, has been accepted, and
is now available as part of the standard library in the <system_error>
header. However, the Boost implementation has continued to evolve and
gain enhancements and additional functionality, such as support for
attaching source locations
to error_code, and a result<T> class that can carry either a value
or an error code.
See the documentation of System for more information.
Since <system_error> is a relatively undocumented portion of the C++
standard library, the documentation of Boost.System may be useful to you
even if you use the standard components.
Distributed under the Boost Software License, Version 1.0.
<h1>Boost.System</h1> <p>The Boost.System library, part of <a href="https://boost.org">Boost C++ Libraries</a>, implements an extensible framework for error reporting in the form of an <code>error_code</code> class and supporting facilities.</p> <p>It has been proposed for the C++11 standard, has been accepted, and is now available as part of the standard library in the <code><system_error></code> header. However, the Boost implementation has continued to evolve and gain enhancements and additional functionality, such as support for attaching <a href="https://www.boost.org/doc/libs/release/libs/assert/doc/html/assert.html#source_location_support">source locations</a> to <code>error_code</code>, and a <code>result<T></code> class that can carry either a value or an error code.</p> <p>See <a href="http://boost.org/libs/system">the documentation of System</a> for more information.</p> <p>Since <code><system_error></code> is a relatively undocumented portion of the C++ standard library, the documentation of Boost.System may be useful to you even if you use the standard components.</p> <h2>License</h2> <p>Distributed under the <a href="http://boost.org/LICENSE_1_0.txt">Boost Software License, Version 1.0</a>.</p>
<h1>Boost.System</h1> <p>The Boost.System library, part of <a href="https://boost.org">Boost C++ Libraries</a>, implements an extensible framework for error reporting in the form of an <code>error_code</code> class and supporting facilities.</p> <p>It has been proposed for the C++11 standard, has been accepted, and is now available as part of the standard library in the <code><system_error></code> header. However, the Boost implementation has continued to evolve and gain enhancements and additional functionality, such as support for attaching <a href="https://www.boost.org/doc/libs/release/libs/assert/doc/html/assert.html#source_location_support">source locations</a> to <code>error_code</code>, and a <code>result<T></code> class that can carry either a value or an error code.</p> <p>See <a href="http://boost.org/libs/system">the documentation of System</a> for more information.</p> <p>Since <code><system_error></code> is a relatively undocumented portion of the C++ standard library, the documentation of Boost.System may be useful to you even if you use the standard components.</p> <h2>License</h2> <p>Distributed under the <a href="http://boost.org/LICENSE_1_0.txt">Boost Software License, Version 1.0</a>.</p>