Sha256: 5d4353830d2493d8c4a2b89ea39bdd4e54b59b131943a56517fd2cb208e9a251
Contents?: true
Size: 885 Bytes
Versions: 28
Compression:
Stored size: 885 Bytes
Contents
// Copyright 2005 Alexander Nasonov. // Distributed under 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) #ifndef FILE_boost_type_traits_floating_point_promotion_hpp_INCLUDED #define FILE_boost_type_traits_floating_point_promotion_hpp_INCLUDED namespace boost { template<class T> struct floating_point_promotion { typedef T type; }; template<> struct floating_point_promotion<float> { typedef double type; }; template<> struct floating_point_promotion<float const> { typedef double const type; }; template<> struct floating_point_promotion<float volatile>{ typedef double volatile type; }; template<> struct floating_point_promotion<float const volatile> { typedef double const volatile type; }; } #endif // #ifndef FILE_boost_type_traits_floating_point_promotion_hpp_INCLUDED
Version data entries
28 entries across 28 versions & 2 rubygems