Daily bit(e) of C++ | std::filesystem: file manipulation
Daily bit(e) of C++ #242, File manipulation using the std::filesystem library.
Besides filesystem exploration, the std::filesystem offers the typical file manipulation operations.
Each operation offers two variants, one throwing one that returns the potential error as an outparameter.
The following example relies on throwing versions of operations to minimize error handling.