
7 Feb
2009
7 Feb
'09
10:16 p.m.
Emil Dotchevski wrote:
Note however that path has some but not all of the characteristics of a standard container. I'd want to see persuasive use cases for adding functionality - just making path more like a std container without good reason is likely to lead to interface bloat without offsetting benefits.
I have to second this, all path member functions that take a string apply a transformation to establish the path's invariant, it wouldn't make sense to make it feel more like a container of chars.
The idea is to make it feel like a container of strings, each string being a path element. Sebastian