boost::filesystem::path p;
p = boost::filesystem::path(" .txt"); .// Three spaces
Have you tried
p = boost::filesystem::path(" .txt", boost::filesystem::native);
as this is how I have to construct paths on Windows because of the \ separater. Maybe this will work for you also.
Russell
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost