1 /* Copyright 2017-2018 Joaquin M Lopez Munoz.
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
6 * See http://www.boost.org/libs/poly_collection for library home page.
9 #ifndef BOOST_POLY_COLLECTION_DETAIL_IS_EQUALITY_COMPARABLE_HPP
10 #define BOOST_POLY_COLLECTION_DETAIL_IS_EQUALITY_COMPARABLE_HPP
16 #include <boost/type_traits/has_equal_to.hpp>
17 #include <type_traits>
21 namespace poly_collection{
26 using is_equality_comparable=std::integral_constant<
28 has_equal_to<T,T,bool>::value
31 } /* namespace poly_collection::detail */
33 } /* namespace poly_collection */
35 } /* namespace boost */