Created on 2014-04-12.00:00:00 last changed 108 months ago
[ 17 Jun 2014 Rapperswil LWG considers this NAD. Mixing lexical and existence based behavior is not desirable. ]
Addresses: filesys.ts
bool equivalent(const path& p1, const path& p2);
has always thrown a exception if neither file exists,
with rationale that if they don't exist, it isn't possible to tell
if two paths are equivalent. Dave Abrahams has reported that this
is counter-intuitive and hard to teach.
An alternative if neither path exists would be to return true if they are lexically equal (operator==), otherwise return false.
This was not a national body comment, and Dave is the only one I can recall ever complaining about the current behavior. On the other hand, any complaint from Dave deserves serious consideration.
History | |||
---|---|---|---|
Date | User | Action | Args |
2016-01-28 01:00:35 | admin | set | messages: + msg7909 |
2014-04-12 00:00:00 | admin | create |