From 1474498ccfd06d94a14606ea807b2fda808c7beb Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 17 Jan 2024 04:32:29 +0200 Subject: [PATCH] Use std::enable_if in detail/enable_if.hpp --- include/boost/system/detail/enable_if.hpp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/include/boost/system/detail/enable_if.hpp b/include/boost/system/detail/enable_if.hpp index 7f3d70bae..5e78c4887 100644 --- a/include/boost/system/detail/enable_if.hpp +++ b/include/boost/system/detail/enable_if.hpp @@ -5,28 +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 enable_if -{ - typedef T type; -}; - -template struct enable_if -{ -}; +using std::enable_if; } // namespace detail - } // namespace system - } // namespace boost #endif // #ifndef BOOST_SYSTEM_DETAIL_ENABLE_IF_HPP_INCLUDED