Hello all,
I've recently started using some of the Boost libraries, one of which being
boost::filesystem. I have however encountered a problem while using the
library, which as far as I can tell is a bug. I'm not sure if anyone is aware
of this problem, or if is not an issue with the library itself but rather
with my configuration - in either case a description of the problem follows:
Whenever I instantiate a boost::filesystem::path object and try to print out a
text representation of the path using a method such as .string(), the path
itself is printed out, however it looks as though the string is not
terminated properly as a whole bunch of trailing garbage appears after the
path.
The following sample program produces the problem for me:
#include <iostream>
#include