mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
made table_arrays non-aggregate for the benefit of older compilers
This commit is contained in:
committed by
Christian Mazakas
parent
86e998cbc7
commit
d8e9503869
@ -867,6 +867,9 @@ struct table_arrays
|
|||||||
static constexpr auto N=group_type::N;
|
static constexpr auto N=group_type::N;
|
||||||
using size_policy=SizePolicy;
|
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<typename Allocator>
|
template<typename Allocator>
|
||||||
static table_arrays new_(Allocator& al,std::size_t n)
|
static table_arrays new_(Allocator& al,std::size_t n)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user