-
boost::filesystem
I am getting a strange error with the boost file system. When I do path my_path("C:\\temp"); I get an unhandled execption in xstring under:
Code:
~basic_string()
{ // destroy the string
_Tidy(true);
}
It will continue but I get memory leaks. Even with nothing but the path in my code.
Any ideas?
-
Damnit I hate boost's documentation and samples.
The answer is:
Code:
path my_path("C:/temp", native );
I was getting the error because I did not link in the execption handler for the file system.