diff options
Diffstat (limited to 'build/path')
-rw-r--r-- | build/path | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -304,6 +304,12 @@ namespace build return basic_path (path_ + s); } + basic_path + operator+ (C c) const + { + return basic_path (path_ + c); + } + basic_path& operator+= (string_type const& s) { @@ -311,6 +317,13 @@ namespace build return *this; } + basic_path& + operator+= (C c) + { + path_ += c; + return *this; + } + // Note that comparison is case-insensitive if the filesystem is // not case-sensitive (e.g., Windows). // |