From f08e363c0e86e84d59b652969f07346f230da471 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 17 Jan 2024 04:33:14 +0200 Subject: [PATCH] Use std::is_same in detail/is_same.hpp --- include/boost/system/detail/is_same.hpp | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/include/boost/system/detail/is_same.hpp b/include/boost/system/detail/is_same.hpp index dc466f8ee..12c1e585a 100644 --- a/include/boost/system/detail/is_same.hpp +++ b/include/boost/system/detail/is_same.hpp @@ -5,29 +5,19 @@ // Distributed under the Boost Software License, Version 1.0 // http://www.boost.org/LICENSE_1_0.txt +#include + namespace boost { - namespace system { - namespace detail { -template struct is_same -{ - enum _vt { value = 0 }; -}; - -template struct is_same -{ - enum _vt { value = 1 }; -}; +using std::is_same; } // namespace detail - } // namespace system - } // namespace boost #endif // #ifndef BOOST_SYSTEM_DETAIL_IS_SAME_HPP_INCLUDED