aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-01-27 06:14:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-01-28 08:01:04 +0200
commitf211934d6ff53388a806c5cc06483e9d843056e4 (patch)
tree5085f616fe013fac6274e760b8e6c4c893fab4c1 /libbuild2/variable.cxx
parentac03ae75f46196c09cec0e3e45f401dc59faee73 (diff)
Make std::map prepend (=+) overriding (like insert_or_assign())
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r--libbuild2/variable.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx
index 47703da..6f45e90 100644
--- a/libbuild2/variable.cxx
+++ b/libbuild2/variable.cxx
@@ -1838,6 +1838,9 @@ namespace build2
value_traits<vector<pair<optional<string>, string>>>;
template struct LIBBUILD2_DEFEXPORT
+ value_traits<vector<pair<string, optional<bool>>>>;
+
+ template struct LIBBUILD2_DEFEXPORT
value_traits<std::map<string, string>>;
template struct LIBBUILD2_DEFEXPORT
@@ -1847,5 +1850,8 @@ namespace build2
value_traits<std::map<optional<string>, string>>;
template struct LIBBUILD2_DEFEXPORT
+ value_traits<std::map<string, optional<bool>>>;
+
+ template struct LIBBUILD2_DEFEXPORT
value_traits<std::map<project_name, dir_path>>;
}