August 2017
Intermediate to advanced
438 pages
14h 19m
English
We saw boost::system::error_code in action in almost all the recipes in Chapter 6, Manipulating Tasks. It can store information about errors and is widely used all around Boost libraries.
Take a careful look at step 3. We used the boost::filesystem::create_directories function, not boost::filesystem::create_directory, because the latter one cannot create sub-directories. It is the same story with boost::filesystem::remove_all and boost::filesystem::remove. The first can remove non empty directories, that contain ...
Read now
Unlock full access