-
When calling fs::temp_directory_path() on a clean windows machine that does not have a temp directory yet an exception is thrown with the message "not a directory". Is this the expected behavior because it is hard to recover from this error without calling native APIs to determine what the temp directory location is so it can be created. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The path that does not exist seems to be present in the exception information so this makes recovery more trivial. |
Beta Was this translation helpful? Give feedback.
The path that does not exist seems to be present in the exception information so this makes recovery more trivial.