From 6447b408b2828d342f24d3680f6a8c6b2d4c01c5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 26 Jan 2025 03:10:59 +0200 Subject: [PATCH] Remove idef-ed out overload of get_c_array --- include/boost/array.hpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/include/boost/array.hpp b/include/boost/array.hpp index d046c40f..8486f9be 100644 --- a/include/boost/array.hpp +++ b/include/boost/array.hpp @@ -390,24 +390,6 @@ namespace boost { return arg.elems; } -#if 0 - // Overload for std::array, assuming that std::array will have - // explicit conversion functions as discussed at the WG21 meeting - // in Summit, March 2009. - template - T(&get_c_array(std::array& arg))[N] - { - return static_cast(arg); - } - - // Const version. - template - const T(&get_c_array(const std::array& arg))[N] - { - return static_cast(arg); - } -#endif - template std::size_t hash_range(It, It); template