On Saturday, November 9, 2002, at 11:23  AM, Beman Dawes wrote:

it sounds to me as if boost::filesystem::path's system_specific constructor and access functions should be used for Macintosh style paths, and the generic constructor and access functions (as always) be used for generic (ie POSIX) paths.
That sounds like a good plan.

    -- Darin

PS

Thus:

    path p1( "a:b", system_specific );
    path p2( "a/b" );
    cout << p1.generic_path() << " " << p1.file_path() << endl;
    cout << p2.generic_path() << " " << p2.file_path() << endl;

Should output:

    a/b a:b
    a/b a:b
Well, to be pedantic, it would output something more like:

    /a/b a:b
    a/b :a:b

Come to think of it, on OS X, it would actually need to be:

    /Volumes/a/b a:b
    a/b :a:b

But I get your drift.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to