From a6b9fb285c6ffb3abd5241c5ea40bca13aa7c794 Mon Sep 17 00:00:00 2001 From: LeonineKing1199 Date: Tue, 7 Dec 2021 08:35:56 -0800 Subject: [PATCH 1/3] Replace internal implementation of `allocation_traits` with Core's --- .../boost/unordered/detail/implementation.hpp | 447 +----------------- 1 file changed, 3 insertions(+), 444 deletions(-) diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index f4874d57..7bfc49dd 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -13,6 +13,7 @@ #endif #include +#include #include #include #include @@ -1055,441 +1056,6 @@ namespace boost { // // Allocator traits // -// First our implementation, then later light wrappers around the alternatives - -#if BOOST_UNORDERED_USE_ALLOCATOR_TRAITS == 0 - -#include -#include -#include - -namespace boost { - namespace unordered { - namespace detail { - - template struct rebind_alloc; - -#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) - - template