diff options
Diffstat (limited to 'build/path')
-rw-r--r-- | build/path | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -7,6 +7,7 @@ #include <string> #include <ostream> +#include <utility> // move #include <exception> namespace build @@ -168,8 +169,14 @@ namespace build } explicit - basic_path (string_type const& s) - : path_ (s) + basic_path (string_type s) + : path_ (std::move (s)) + { + init (); + } + + basic_path (const string_type& s, size_type n) + : path_ (s, 0, n) { init (); } |