skip to Main Content

Debian – Is boost::filesystem thread-safe?

Here is the following case I am observing on my Debian stable system: % valgrind --tool=drd ./threads ==1368067== drd, a thread error detector ==1368067== Copyright (C) 2006-2020, and GNU GPL'd, by Bart Van Assche. ==1368067== Using Valgrind-3.19.0 and LibVEX; rerun…

VIEW QUESTION

Ubuntu – Use boost::filesystem with std::ifstream?

I'm using Ubuntu 20.04 LTS with C++ 20 and boost 1.71.0. The following compiles without error and outputs the sample file content: #include <iostream> #include <string> #include <boost/filesystem.hpp> #include <filesystem> int main() { boost::filesystem::path output_dir = boost::filesystem::path("/out/"); boost::filesystem::path sample_file =…

VIEW QUESTION
Back To Top
Search