aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-13 14:20:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-13 14:22:07 +0200
commitf11d720f2fb62b46ad17d3aa3850140a4839f114 (patch)
tree7b077efc16b0362283e1857cf974090ee4ce8f26 /build2/variable.txx
parent08688bfc12a42a0399bcbdd6fe7d30d8f2486775 (diff)
Implement info meta operation
This meta operation can be used to print basic information (name, version, source/output roots, etc) for one or more projects.
Diffstat (limited to 'build2/variable.txx')
-rw-r--r--build2/variable.txx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/variable.txx b/build2/variable.txx
index e374f22..c2dbea9 100644
--- a/build2/variable.txx
+++ b/build2/variable.txx
@@ -389,6 +389,9 @@ namespace build2
}
template <typename T>
+ const vector<T> value_traits<vector<T>>::empty_instance;
+
+ template <typename T>
const typename value_traits<vector<T>>::value_type_ex
value_traits<vector<T>>::value_type = build2::value_type // VC14 wants =.
{
@@ -558,6 +561,9 @@ namespace build2
}
template <typename K, typename V>
+ const std::map<K,V> value_traits<std::map<K, V>>::empty_instance;
+
+ template <typename K, typename V>
const typename value_traits<std::map<K, V>>::value_type_ex
value_traits<std::map<K, V>>::value_type = build2::value_type // VC14 wants =
{