From 583225ad9f6ea4f8edd3817f19e318ec39e69245 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Wed, 30 Aug 2023 09:54:35 -0700 Subject: [PATCH] Update docs about relaxed Allocator requirements --- doc/unordered/concurrent_flat_map.adoc | 5 ++--- doc/unordered/unordered_flat_map.adoc | 3 +-- doc/unordered/unordered_flat_set.adoc | 3 +-- doc/unordered/unordered_node_map.adoc | 3 +-- doc/unordered/unordered_node_set.adoc | 3 +-- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/doc/unordered/concurrent_flat_map.adoc b/doc/unordered/concurrent_flat_map.adoc index bcfc719e..80e4dbf8 100644 --- a/doc/unordered/concurrent_flat_map.adoc +++ b/doc/unordered/concurrent_flat_map.adoc @@ -1,4 +1,4 @@ -[#concurrent_flat_map] +[#concurrent_flat_map] == Class Template concurrent_flat_map :idprefix: concurrent_flat_map_ @@ -316,8 +316,7 @@ https://en.cppreference.com/w/cpp/named_req/Erasable[Erasable^] from the table. |_Allocator_ |An allocator whose value type is the same as the table's value type. -`std::allocator_traits::pointer` and `std::allocator_traits::const_pointer` -must be convertible to/from `value_type*` and `const value_type*`, respectively. +Allocators using https://en.cppreference.com/w/cpp/named_req/Allocator#Fancy_pointers[fancy pointers] are supported. |=== diff --git a/doc/unordered/unordered_flat_map.adoc b/doc/unordered/unordered_flat_map.adoc index 7018433b..0ddd006b 100644 --- a/doc/unordered/unordered_flat_map.adoc +++ b/doc/unordered/unordered_flat_map.adoc @@ -312,8 +312,7 @@ https://en.cppreference.com/w/cpp/named_req/Erasable[Erasable^] from the contain |_Allocator_ |An allocator whose value type is the same as the container's value type. -`std::allocator_traits::pointer` and `std::allocator_traits::const_pointer` -must be convertible to/from `value_type*` and `const value_type*`, respectively. +Allocators using https://en.cppreference.com/w/cpp/named_req/Allocator#Fancy_pointers[fancy pointers] are supported. |=== diff --git a/doc/unordered/unordered_flat_set.adoc b/doc/unordered/unordered_flat_set.adoc index 68410ba5..e015c826 100644 --- a/doc/unordered/unordered_flat_set.adoc +++ b/doc/unordered/unordered_flat_set.adoc @@ -261,8 +261,7 @@ and https://en.cppreference.com/w/cpp/named_req/Erasable[Erasable^] from the con |_Allocator_ |An allocator whose value type is the same as the container's value type. -`std::allocator_traits::pointer` and `std::allocator_traits::const_pointer` -must be convertible to/from `value_type*` and `const value_type*`, respectively. +Allocators using https://en.cppreference.com/w/cpp/named_req/Allocator#Fancy_pointers[fancy pointers] are supported. |=== diff --git a/doc/unordered/unordered_node_map.adoc b/doc/unordered/unordered_node_map.adoc index fcc46d5c..e9ca0f5d 100644 --- a/doc/unordered/unordered_node_map.adoc +++ b/doc/unordered/unordered_node_map.adoc @@ -314,8 +314,7 @@ https://en.cppreference.com/w/cpp/named_req/Erasable[Erasable^] from the contain |_Allocator_ |An allocator whose value type is the same as the container's value type. -`std::allocator_traits::pointer` and `std::allocator_traits::const_pointer` -must be convertible to/from `value_type*` and `const value_type*`, respectively. +Allocators using https://en.cppreference.com/w/cpp/named_req/Allocator#Fancy_pointers[fancy pointers] are supported. |=== diff --git a/doc/unordered/unordered_node_set.adoc b/doc/unordered/unordered_node_set.adoc index 44a7fc9e..3daa293f 100644 --- a/doc/unordered/unordered_node_set.adoc +++ b/doc/unordered/unordered_node_set.adoc @@ -264,8 +264,7 @@ namespace boost { |_Allocator_ |An allocator whose value type is the same as the container's value type. -`std::allocator_traits::pointer` and `std::allocator_traits::const_pointer` -must be convertible to/from `value_type*` and `const value_type*`, respectively. +Allocators using https://en.cppreference.com/w/cpp/named_req/Allocator#Fancy_pointers[fancy pointers] are supported. |===