
16 Jun
2005
16 Jun
'05
10:15 a.m.
I have two paths, both set to c:\ and if I concatenate them using operator /, I get a resultant path of c:\c:\ which is invalid, but the namechecking doesn't throw an execption. e.g. void test(void) { boost::filesystem::path p("C:\\", boost::filesystem::native); boost::filesystem::path p2(p); p2 = p2 / p; } p2 results as "c:/c:/" (the internal representation). Cheers Russell