
22 Apr
2006
22 Apr
'06
1:18 p.m.
Although a proper path class seems so much neater, I think you should still keep some API to specify a path as a single string, maybe something like:
boost::property_path::path p("Dante/Divina Commedia/Inferno");
Why? Because this way you retain the ability to store a path as a program resource outside the code.
Yes, obviously. Path class will still support dot (or slash) separated strings. It will have non-explicit conversion constructor from such string. Best regards, Marcin