]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/poly_collection/detail/is_equality_comparable.hpp
bump version to 18.2.4-pve3
[ceph.git] / ceph / src / boost / boost / poly_collection / detail / is_equality_comparable.hpp
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)
5 *
6 * See http://www.boost.org/libs/poly_collection for library home page.
7 */
8
9 #ifndef BOOST_POLY_COLLECTION_DETAIL_IS_EQUALITY_COMPARABLE_HPP
10 #define BOOST_POLY_COLLECTION_DETAIL_IS_EQUALITY_COMPARABLE_HPP
11
12 #if defined(_MSC_VER)
13 #pragma once
14 #endif
15
16 #include <boost/type_traits/has_equal_to.hpp>
17 #include <type_traits>
18
19 namespace boost{
20
21 namespace poly_collection{
22
23 namespace detail{
24
25 template<typename T>
26 using is_equality_comparable=std::integral_constant<
27 bool,
28 has_equal_to<T,T,bool>::value
29 >;
30
31 } /* namespace poly_collection::detail */
32
33 } /* namespace poly_collection */
34
35 } /* namespace boost */
36
37 #endif