|
||||
File indexing completed on 2025-01-18 09:53:10
0001 0002 // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 0003 // Use, modification and distribution are subject to the Boost Software License, 0004 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 0005 // http://www.boost.org/LICENSE_1_0.txt). 0006 // 0007 // See http://www.boost.org/libs/type_traits for most recent version including documentation. 0008 0009 #ifndef BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED 0010 #define BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED 0011 0012 #include <boost/type_traits/is_integral.hpp> 0013 #include <boost/type_traits/is_floating_point.hpp> 0014 0015 namespace boost { 0016 0017 template <class T> 0018 struct is_arithmetic : public integral_constant<bool, is_integral<T>::value || is_floating_point<T>::value> {}; 0019 0020 } // namespace boost 0021 0022 #endif // BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |