From 6872131920637117eaf6d6832b04e63143e949fd Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 1 Feb 2025 19:44:55 +0000 Subject: [PATCH] Updates to CI scripts --- include/etl/memory.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/etl/memory.h b/include/etl/memory.h index ca72656b..f70d93e3 100644 --- a/include/etl/memory.h +++ b/include/etl/memory.h @@ -54,27 +54,6 @@ SOFTWARE. namespace etl { -#if ETL_USING_STL && ETL_USING_CPP20 - //***************************************************************************** - /// Obtain the address represented by p without forming a reference to the object pointed to by p. - /// Defined when using the STL and C++20 - //***************************************************************************** - template - constexpr auto to_address(const TPtr& p) noexcept - { - return std::to_address(p); - } - - //***************************************************************************** - /// Obtain the address represented by p without forming a reference to the object pointed to by p. - /// Defined when using the STL and C++20 - //***************************************************************************** - template - constexpr T* to_address(T* p) noexcept - { - return std::to_address(p); - } -#else //***************************************************************************** /// Obtain the address represented by p without forming a reference to the object pointed to by p. /// Defined when not using the STL or C++20 @@ -95,7 +74,6 @@ namespace etl { return itr.operator->(); } -#endif #if ETL_USING_STL //*****************************************************************************