-/* Copyright 2003-2018 Joaquin M Lopez Munoz.
+/* Copyright 2003-2020 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
spc.swap(x.spc);
}
+ template<typename BoolConstant>
+ void swap(bucket_array& x,BoolConstant swap_allocators)
+ {
+ std::swap(size_index_,x.size_index_);
+ spc.swap(x.spc,swap_allocators);
+ }
+
private:
typedef auto_space<base_node_impl_type,Allocator> auto_space_type;
typedef typename auto_space_type::size_type auto_space_size_type;