Boost logo

Boost Users :

Subject: [Boost-users] error_code using c++11 and boost
From: Lars (laasunde_at_[hidden])
Date: 2018-11-16 15:06:47


A project that uses Boost 1.6X (filesystem, uuid, asio) and C++14 on multiplatform.

Does it make sense to use std::error_code in this project ? The concern is compatibility between boost and std. The filesystem_error exception will return a boost ::system::error_code which is not compatible with std::error_code as far as I can tell. Exception is not an option.

Would it be possible for boost to implement some sort of convertion method from boost::system::error_code to std::errror_code?


kind regards, Lars

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at