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 an older version of Boost and was released in 2021. The current version is 1.89.0.
boost::process::error
// In header: <boost/process/error.hpp> unspecified error;
The error property will set the executor to handle any errors by setting an std::error_code.
std::error_code ec; system("gcc", error(ec));
The following syntax is valid:
error(ec); error=ec;
The overload version is achieved by just passing an object of std::error_code to the function.