diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-22 08:39:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-22 09:34:29 +0200 |
commit | 6e91cb7cdb0c4f000a79d20d8578890d56bcdc84 (patch) | |
tree | 7ba42ef488534c19bf2eafbd8d289e08036f11b7 /libbuild2/variable.cxx | |
parent | d51892e33a0fe69e743e02d9620312133a7ac61d (diff) |
Add support for optional pair halves in variable values
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r-- | libbuild2/variable.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx index f5476b5..47703da 100644 --- a/libbuild2/variable.cxx +++ b/libbuild2/variable.cxx @@ -1832,8 +1832,20 @@ namespace build2 value_traits<vector<pair<string, string>>>; template struct LIBBUILD2_DEFEXPORT + value_traits<vector<pair<string, optional<string>>>>; + + template struct LIBBUILD2_DEFEXPORT + value_traits<vector<pair<optional<string>, string>>>; + + template struct LIBBUILD2_DEFEXPORT value_traits<std::map<string, string>>; template struct LIBBUILD2_DEFEXPORT + value_traits<std::map<string, optional<string>>>; + + template struct LIBBUILD2_DEFEXPORT + value_traits<std::map<optional<string>, string>>; + + template struct LIBBUILD2_DEFEXPORT value_traits<std::map<project_name, dir_path>>; } |