From 59f4da0a47d237201ee5c65f79cbba9806a3f1c8 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 20 Oct 2022 14:58:38 -0700 Subject: [PATCH] Add init_type public typedefs --- include/boost/unordered/unordered_flat_map.hpp | 1 + include/boost/unordered/unordered_flat_set.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/include/boost/unordered/unordered_flat_map.hpp b/include/boost/unordered/unordered_flat_map.hpp index bcaa8dce..b1b2528a 100644 --- a/include/boost/unordered/unordered_flat_map.hpp +++ b/include/boost/unordered/unordered_flat_map.hpp @@ -67,6 +67,7 @@ namespace boost { using key_type = Key; using mapped_type = T; using value_type = typename map_types::value_type; + using init_type = typename map_types::init_type; using size_type = std::size_t; using difference_type = std::ptrdiff_t; using hasher = Hash; diff --git a/include/boost/unordered/unordered_flat_set.hpp b/include/boost/unordered/unordered_flat_set.hpp index fde8605c..fae770ee 100644 --- a/include/boost/unordered/unordered_flat_set.hpp +++ b/include/boost/unordered/unordered_flat_set.hpp @@ -49,6 +49,7 @@ namespace boost { public: using key_type = Key; using value_type = typename set_types::value_type; + using init_type = typename set_types::init_type; using size_type = std::size_t; using difference_type = std::ptrdiff_t; using hasher = Hash;