]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/safe_numerics/concept/integer.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / safe_numerics / concept / integer.hpp
1 #ifndef BOOST_NUMERIC_CONCEPT_INTEGER_HPP
2 #define BOOST_NUMERIC_CONCEPT_INTEGER_HPP
3
4 // Copyright (c) 2012 Robert Ramey
5 //
6 // Distributed under the Boost Software License, Version 1.0. (See
7 // accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
9
10 #include "numeric.hpp"
11
12 namespace boost {
13 namespace safe_numerics {
14
15 template<class T>
16 using Integer = std::integral_constant<bool, Numeric<T>() && std::numeric_limits<T>::is_integer>;
17
18 } // safe_numerics
19 } // boost
20
21 #endif // BOOST_NUMERIC_CONCEPT_INTEGER_HPP