From 7996c2bfc2d7e998e2f9f1236d457ec7bea8ad8a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Dec 2015 13:39:09 +0200 Subject: Implement support for definition target type aliases For example: define cli=file Currently, the semantics is that of a real alias with only name differences that are used for display. See tests/define/buildfile for more use cases. --- build/types | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'build/types') diff --git a/build/types b/build/types index 0a71252..c119839 100644 --- a/build/types +++ b/build/types @@ -7,6 +7,8 @@ #include #include +#include // unique_ptr, shared_ptr +#include // reference_wrapper #include #include @@ -17,7 +19,12 @@ namespace build { // Commonly-used types. // - using strings = std::vector; + using std::string; + using std::unique_ptr; + using std::shared_ptr; + using std::reference_wrapper; + + using strings = std::vector; using cstrings = std::vector; // -- cgit v1.1