Sha256: 8a9d06be1269ab736f90908dbba242f998c4e4020add765ae7b669506ce2ffa0

Contents?: true

Size: 1.34 KB

Versions: 53

Compression:

Stored size: 1.34 KB

Contents

//  (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000-2005.
//  Use, modification and distribution are subject to the Boost Software License,
//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt).
//
//  See http://www.boost.org/libs/type_traits for most recent version including documentation.

#ifndef BOOST_TYPE_TRAITS_IS_FLOATING_HPP_INCLUDED
#define BOOST_TYPE_TRAITS_IS_FLOATING_HPP_INCLUDED

#include <boost/type_traits/integral_constant.hpp>

namespace boost {

//* is a type T a floating-point type described in the standard (3.9.1p8)
   template <class T> struct is_floating_point : public false_type{};
   template <class T> struct is_floating_point<const T> : public is_floating_point<T>{};
   template <class T> struct is_floating_point<volatile const T> : public is_floating_point<T>{};
   template <class T> struct is_floating_point<volatile T> : public is_floating_point<T>{};
   template<> struct is_floating_point<float> : public true_type{};
   template<> struct is_floating_point<double> : public true_type{};
   template<> struct is_floating_point<long double> : public true_type{};
   
#if defined(BOOST_HAS_FLOAT128)
   template<> struct is_floating_point<__float128> : public true_type{};
#endif

} // namespace boost

#endif // BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp