Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

system_error

The type of system error thrown by the library.

Synopsis

Defined in header <boost/json/system_error.hpp>

using system_error = boost::system::system_error;
Description

This type alias is set depending on how the library is configured:

Use with Boost

If the macro BOOST_JSON_STANDALONE is not defined, this type will be an alias for boost::system::system_error. Compiling a program using the library will require Boost, and a compiler conforming to C++11 or later.

Use without Boost

If the macro BOOST_JSON_STANDALONE is defined, this type will be an alias for std::system_error. Compiling a program using the library will require only a compiler conforming to C++17 or later.

See Also

https://en.cppreference.com/w/cpp/error/system_error

Convenience header <boost/json.hpp>


PrevUpHomeNext