
22 Mar
2004
22 Mar
'04
6:37 a.m.
I'm definitely worried that relative_to() as proposed would come to be viewed as fragile.
Yup, you're right.
This is similar to the path equality issue. We are dealing with that by introducing class path relational operators, working at a lexical level, and a function equivalent() which actually performs filesystem operations to determine if two paths refer to the same underlying object.
Aha... I'll grab the latest version from CVS. But I guess with this equivalent() function, it should be possible to implement it. Best, John