diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-16 13:20:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-16 13:20:06 +0200 |
commit | 77a0988759f295893b0b0e171249661a2059b1e7 (patch) | |
tree | 4c131abbc42179546fb76b2f588b4e389719e23f /build/types | |
parent | 9553742cf67863e81e4ff053506ca9f87ced57e4 (diff) |
Implement support for multiple scope/targets in variable assignment
Can now even do this:
foo/ file{*-bar} file{baz}: x = y
Diffstat (limited to 'build/types')
-rw-r--r-- | build/types | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/types b/build/types index 2dc9b04..3028fc2 100644 --- a/build/types +++ b/build/types @@ -9,6 +9,7 @@ #include <string> #include <utility> // pair #include <memory> // unique_ptr, shared_ptr +#include <cstddef> // size_t #include <functional> // reference_wrapper #include <butl/path> @@ -21,13 +22,15 @@ namespace build // Commonly-used types. // using std::pair; + using std::size_t; using std::string; using std::unique_ptr; using std::shared_ptr; using std::reference_wrapper; + using std::vector; - using strings = std::vector<string>; - using cstrings = std::vector<const char*>; + using strings = vector<string>; + using cstrings = vector<const char*>; // <butl/path> // |