Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:56:56

0001 /* Copyright 2017-2018 Joaquin M Lopez Munoz.
0002  * Distributed under the Boost Software License, Version 1.0.
0003  * (See accompanying file LICENSE_1_0.txt or copy at
0004  * http://www.boost.org/LICENSE_1_0.txt)
0005  *
0006  * See http://www.boost.org/libs/poly_collection for library home page.
0007  */
0008 
0009 #ifndef BOOST_POLY_COLLECTION_DETAIL_IS_EQUALITY_COMPARABLE_HPP
0010 #define BOOST_POLY_COLLECTION_DETAIL_IS_EQUALITY_COMPARABLE_HPP
0011 
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015 
0016 #include <boost/type_traits/has_equal_to.hpp>
0017 #include <type_traits>
0018 
0019 namespace boost{
0020 
0021 namespace poly_collection{
0022 
0023 namespace detail{
0024 
0025 template<typename T>
0026 using is_equality_comparable=std::integral_constant<
0027   bool,
0028   has_equal_to<T,T,bool>::value
0029 >;
0030 
0031 } /* namespace poly_collection::detail */
0032 
0033 } /* namespace poly_collection */
0034 
0035 } /* namespace boost */
0036 
0037 #endif