From 99aaa0bf8433b4aeb28ef2da2d98cc316fa9e187 Mon Sep 17 00:00:00 2001
From: Beman Dawes Postcondition: Rationale: It is not considered an error for m_name is in
canonical form.rhs to
- include a root-name because it might relative, and
- thus valid. For example, on Windows, the follow must succeed:root-directory because m_name might be relative
+ or empty, and
+ thus it is valid for rhs to supply root-directory. For example, on Windows, the following must succeed:
@@ -796,7 +798,7 @@ various expressions.path p( "c:", native ); p /= "/foo"; @@ -335,8 +336,9 @@ assert( p.string() == "c:/foo" );For example,initial_directory() / "src" / test_name. Operator+ and operator+= were considered as alternatives, but deemed too easy to confuse with those operators for std::string. Operator<< and - operator=<< were until during public review it was pointed out that / and /= - matched the generic path syntax. + operator=<< were used originally until during public review Dave + Abrahams pointed out that / and /= + match the generic path syntax.Note: Also see non-member operator/ functions.
© Copyright Beman Dawes, 2002
Revised -11 June, 2003
+04 August, 2003