aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path-map.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-11-05 12:39:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-11-05 12:39:26 +0200
commitbf1e5b6b8b73fed4ab1bfb40a1f362c255fe7029 (patch)
tree105ce0dd13f67f80f932958bb16323f8067b67d3 /libbutl/path-map.hxx
parent33b8b378fae1daa02550bc53c5e43c4dfc6819de (diff)
Improve prefix multiple support
Diffstat (limited to 'libbutl/path-map.hxx')
-rw-r--r--libbutl/path-map.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/libbutl/path-map.hxx b/libbutl/path-map.hxx
index a7b3870..e3d776a 100644
--- a/libbutl/path-map.hxx
+++ b/libbutl/path-map.hxx
@@ -125,4 +125,12 @@ namespace butl
template <typename T>
using dir_path_map =
prefix_map<dir_path, T, dir_path::traits_type::directory_separator>;
+
+ template <typename T>
+ using path_multimap =
+ prefix_multimap<path, T, path::traits_type::directory_separator>;
+
+ template <typename T>
+ using dir_path_multimap =
+ prefix_multimap<dir_path, T, dir_path::traits_type::directory_separator>;
}