Comment on Undefined Behavior in C and C++parentComments−ack_complete2yNot always. [fs.race.behavior] makes it undefined behavior to use the C++ filesystem library in a way that introduces a race on the filesystem, including with _other processes_:https://eel.is/c++draft/fs.race.behaviorI'm not sure how it is possible for a program to avoid this.
Comments
Not always. [fs.race.behavior] makes it undefined behavior to use the C++ filesystem library in a way that introduces a race on the filesystem, including with _other processes_:
https://eel.is/c++draft/fs.race.behavior
I'm not sure how it is possible for a program to avoid this.