From d8e950386997d9fb6ee2a78a455781508a92a7fd Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 18 Mar 2023 16:16:57 +0100 Subject: [PATCH] made table_arrays non-aggregate for the benefit of older compilers --- include/boost/unordered/detail/foa/core.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index 0b67911d..6d7e8df4 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -867,6 +867,9 @@ struct table_arrays static constexpr auto N=group_type::N; using size_policy=SizePolicy; + table_arrays(std::size_t gsi,std::size_t gsm,group_type *pg,value_type *pe): + groups_size_index{gsi},groups_size_mask{gsm},groups{pg},elements{pe}{} + template static table_arrays new_(Allocator& al,std::size_t n) {