6 Feb
2009
6 Feb
'09
8:53 p.m.
Ion GaztaƱaga wrote:
Sebastian Redl wrote:
It would be pretty trivial to implement, anyway. It's just "*this = parent_path();"
What about making it more efficient and nothrow? ;-) OK, then move the main logic of parent_path() there and implement parent_path() as
path t(*this); t.pop_back(); return t; Sebastian