]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/safe_numerics/concept/numeric.hpp
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / boost / boost / safe_numerics / concept / numeric.hpp
1 #ifndef BOOST_NUMERIC_CONCEPT_NUMERIC_HPP
2 #define BOOST_NUMERIC_CONCEPT_NUMERIC_HPP
3
4 // Copyright (c) 2021 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 <limits>
11 #include <cstdint>
12 #include <type_traits>
13
14 namespace boost {
15 namespace safe_numerics {
16
17 template<class T>
18 using Numeric = std::integral_constant<bool, std::numeric_limits<T>::is_specialized>;
19
20 } // safe_numerics
21 } // boost
22
23 #endif // BOOST_NUMERIC_CONCEPT_NUMERIC_HPP