2 // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000-2005.
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
7 // See http://www.boost.org/libs/type_traits for most recent version including documentation.
9 #ifndef BOOST_TYPE_TRAITS_IS_FLOATING_HPP_INCLUDED
10 #define BOOST_TYPE_TRAITS_IS_FLOATING_HPP_INCLUDED
12 // should be the last #include
13 #include "boost/type_traits/detail/bool_trait_def.hpp"
17 //* is a type T a floating-point type described in the standard (3.9.1p8)
18 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_floating_point,T,false)
19 BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_floating_point,float,true)
20 BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_floating_point,double,true)
21 BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_floating_point,long double,true)
25 #include "boost/type_traits/detail/bool_trait_undef.hpp"
27 #endif // BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED