From ca5bff18fc63d4f6b7fa2731d7a0a839efc984d8 Mon Sep 17 00:00:00 2001 From: zoecarver Date: Tue, 19 May 2020 17:25:00 -0700 Subject: [PATCH] [NFC] Remove non-rvlaue non-variadic allocator::construct overloads. Summary: All supported compilers have rvalues and variadics so we can safely remove the overloads of allocator::construct which are only enabled on compilers without rvalues and variadics. Reviewers: ldionne, #libc! Subscribers: dexonsmith, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D80068 --- libcxx/include/memory | 58 ------------------------------------------- 1 file changed, 58 deletions(-) diff --git a/libcxx/include/memory b/libcxx/include/memory index 3b7e29d98912..8a9f82641097 100644 --- a/libcxx/include/memory +++ b/libcxx/include/memory @@ -1306,8 +1306,6 @@ struct __allocator_traits_rebind _LIBCPP_SUPPRESS_DEPRECATED_POP }; -#ifndef _LIBCPP_HAS_NO_VARIADICS - template