aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-02-21 14:21:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-02-21 14:21:23 +0200
commit73386de65fd49e7690da5203074a5ea603551db6 (patch)
tree502d1504101cc96a9cc46e1171dcb4cae3a19850 /libbuild2/variable.txx
parent94b6103c6c3475e3bf10eb905d504a5d239305b7 (diff)
Fix issue with json null representation in containers
Diffstat (limited to 'libbuild2/variable.txx')
-rw-r--r--libbuild2/variable.txx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/variable.txx b/libbuild2/variable.txx
index 12a2667..0b831e9 100644
--- a/libbuild2/variable.txx
+++ b/libbuild2/variable.txx
@@ -1347,6 +1347,10 @@ namespace build2
// value), but we don't yet have pair<> as value type so we let the generic
// implementation return an untyped pair.
//
+ // BTW, one negative consequence of returning untyped pair is that
+ // $first()/$second() don't return types values either, which is quite
+ // unfortunate for something like json_map.
+ //
template <typename K, typename V>
const map_value_type<K, V>
value_traits<map<K, V>>::value_type = build2::value_type // VC14 wants =