1 // 2 // Copyright (c) 2009 by Rutger ter Borg 3 // 4 // Distributed under the Boost Software License, Version 1.0. 5 // (See accompanying file LICENSE_1_0.txt or copy at 6 // http://www.boost.org/LICENSE_1_0.txt) 7 // 8 9 #ifndef BOOST_NUMERIC_BINDINGS_IS_REAL_HPP 10 #define BOOST_NUMERIC_BINDINGS_IS_REAL_HPP 11 12 #include <boost/type_traits/is_floating_point.hpp> 13 14 namespace boost { 15 namespace numeric { 16 namespace bindings { 17 18 template< typename T > 19 struct is_real: boost::is_floating_point<T> {}; 20 21 } // namespace bindings 22 } // namespace numeric 23 } // namespace boost 24 25 #endif 26