
2 Feb
2004
2 Feb
'04
2:41 p.m.
Beman Dawes <bdawes@acm.org> writes:
Coming back to equivalence, I still like John Maddock's suggestion of throwing only if both do not exist. If fits my intuitive sense of what "equivalence" means for files and directories. However, such thoughts in the past sometimes changed when tests cases were being constructed. So no firm decision has been made yet.
I don't think I'd want an exception in this case either. I think you should treat a path that doesn't exist like a non-signalling NaN. IIRC, two NaNs never compare equal. -- Dave Abrahams Boost Consulting www.boost-consulting.com