Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:51:35

0001 #ifndef BOOST_NUMERIC_CONCEPT_NUMERIC_HPP
0002 #define BOOST_NUMERIC_CONCEPT_NUMERIC_HPP
0003 
0004 //  Copyright (c) 2021 Robert Ramey
0005 //
0006 // Distributed under the Boost Software License, Version 1.0. (See
0007 // accompanying file LICENSE_1_0.txt or copy at
0008 // http://www.boost.org/LICENSE_1_0.txt)
0009 
0010 #include <limits>
0011 #include <cstdint>
0012 #include <type_traits>
0013 
0014 namespace boost {
0015 namespace safe_numerics {
0016 
0017 template<class T>
0018 using Numeric = std::integral_constant<bool, std::numeric_limits<T>::is_specialized>;
0019 
0020 } // safe_numerics
0021 } // boost
0022 
0023 #endif // BOOST_NUMERIC_CONCEPT_NUMERIC_HPP