use rebind_alloc instead of rebind for std::allocator

This commit is contained in:
Guillaume Damiand 2022-07-20 11:31:04 +02:00
parent 309f2268b9
commit 447728692d
8 changed files with 8 additions and 8 deletions

View File

@ -74,7 +74,7 @@ namespace CGAL {
struct Container_for_attributes : struct Container_for_attributes :
public internal::Container_type public internal::Container_type
<Concurrent_tag, T, <Concurrent_tag, T,
typename std::allocator_traits<Alloc_>::template rebind_alloc<T>>::type typename Allocator_traits::template rebind_alloc<T>>::type
{}; {};
/// Typedef for attributes /// Typedef for attributes
typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type

View File

@ -74,7 +74,7 @@ namespace CGAL {
template <typename T> template <typename T>
struct Container_for_attributes : public struct Container_for_attributes : public
Compact_container_with_index<T, Compact_container_with_index<T,
typename Alloc_::template rebind<T>::other, typename Allocator_traits::template rebind_alloc<T>,
Multiply_by_two_policy_for_cc_with_size<64>, size_type > Multiply_by_two_policy_for_cc_with_size<64>, size_type >
{}; {};
/// Typedef for attributes /// Typedef for attributes

View File

@ -74,7 +74,7 @@ namespace CGAL {
struct Container_for_attributes : struct Container_for_attributes :
public internal::Container_type public internal::Container_type
<Concurrent_tag, T, <Concurrent_tag, T,
typename std::allocator_traits<Alloc_>::template rebind_alloc<T>>::type typename Allocator_traits::template rebind_alloc<T>>::type
{}; {};
/// Typedef for attributes /// Typedef for attributes
typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type

View File

@ -74,7 +74,7 @@ namespace CGAL {
template <typename T> template <typename T>
struct Container_for_attributes : public struct Container_for_attributes : public
Compact_container_with_index<T, Compact_container_with_index<T,
typename Alloc_::template rebind<T>::other, typename Allocator_traits::template rebind_alloc<T>,
Multiply_by_two_policy_for_cc_with_size<64>, size_type > Multiply_by_two_policy_for_cc_with_size<64>, size_type >
{}; {};
/// Typedef for attributes /// Typedef for attributes

View File

@ -84,7 +84,7 @@ namespace CGAL {
struct Container_for_attributes : struct Container_for_attributes :
public internal::Container_type public internal::Container_type
<Concurrent_tag, T, <Concurrent_tag, T,
typename std::allocator_traits<Alloc_>::template rebind_alloc<T>>::type typename Allocator_traits::template rebind_alloc<T>>::type
{}; {};
/// Typedef for attributes /// Typedef for attributes
typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type

View File

@ -84,7 +84,7 @@ namespace CGAL {
template <typename T> template <typename T>
struct Container_for_attributes : public struct Container_for_attributes : public
Compact_container_with_index<T, Compact_container_with_index<T,
typename Alloc_::template rebind<T>::other, typename Allocator_traits::template rebind_alloc<T>,
Multiply_by_two_policy_for_cc_with_size<64>, size_type > Multiply_by_two_policy_for_cc_with_size<64>, size_type >
{}; {};
/// Typedef for attributes /// Typedef for attributes

View File

@ -84,7 +84,7 @@ namespace CGAL {
struct Container_for_attributes : struct Container_for_attributes :
public internal::Container_type public internal::Container_type
<Concurrent_tag, T, <Concurrent_tag, T,
typename std::allocator_traits<Alloc_>::template rebind_alloc<T>>::type typename Allocator_traits::template rebind_alloc<T>>::type
{}; {};
/// Typedef for attributes /// Typedef for attributes
typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type typedef typename internal::template Get_attributes_tuple<Dart_wrapper>::type

View File

@ -84,7 +84,7 @@ namespace CGAL {
template <typename T> template <typename T>
struct Container_for_attributes : public struct Container_for_attributes : public
Compact_container_with_index<T, Compact_container_with_index<T,
typename Alloc_::template rebind<T>::other, typename Allocator_traits::template rebind_alloc<T>,
Multiply_by_two_policy_for_cc_with_size<64>, size_type > Multiply_by_two_policy_for_cc_with_size<64>, size_type >
{}; {};
/// Typedef for attributes /// Typedef for attributes