diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-24 09:51:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-24 14:52:43 +0200 |
commit | 68f96f9213e849d0d7c4cedf3edeaec99743ee27 (patch) | |
tree | 271913d74c906971cac555319f5e14d0c66e0c16 /build/name | |
parent | 0d5234f4aefd3cc5b5948cc1b9dd009e50046f5e (diff) |
New variable architecture
Diffstat (limited to 'build/name')
-rw-r--r-- | build/name | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -33,11 +33,11 @@ namespace build { name () = default; - explicit - name (std::string v): value (std::move (v)) {} + explicit name (std::string v): value (std::move (v)) {} + name& operator= (std::string v) {return *this = name (std::move (v));} - explicit - name (dir_path d): dir (std::move (d)) {} + explicit name (dir_path d): dir (std::move (d)) {} + name& operator= (dir_path d) {return *this = name (std::move (d));} name (std::string t, std::string v) : type (std::move (t)), value (std::move (v)) {} |