Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-25 10:01:22

0001 #ifndef BOOST_NUMERIC_CONCEPT_INTEGER_HPP
0002 #define BOOST_NUMERIC_CONCEPT_INTEGER_HPP
0003 
0004 //  Copyright (c) 2012 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 "numeric.hpp"
0011 
0012 namespace boost {
0013 namespace safe_numerics {
0014 
0015 template<class T>
0016 using Integer = std::integral_constant<bool, Numeric<T>() && std::numeric_limits<T>::is_integer>;
0017 
0018 } // safe_numerics
0019 } // boost
0020 
0021 #endif // BOOST_NUMERIC_CONCEPT_INTEGER_HPP