]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/type_traits/include/boost/type_traits/floating_point_promotion.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / type_traits / include / boost / type_traits / floating_point_promotion.hpp
CommitLineData
7c673cae
FG
1// Copyright 2005 Alexander Nasonov.
2// Distributed under the Boost Software License, Version 1.0. (See
3// accompanying file LICENSE_1_0.txt or copy at
4// http://www.boost.org/LICENSE_1_0.txt)
5
6#ifndef FILE_boost_type_traits_floating_point_promotion_hpp_INCLUDED
7#define FILE_boost_type_traits_floating_point_promotion_hpp_INCLUDED
8
9namespace boost {
10
11 template<class T> struct floating_point_promotion { typedef T type; };
12 template<> struct floating_point_promotion<float> { typedef double type; };
13 template<> struct floating_point_promotion<float const> { typedef double const type; };
14 template<> struct floating_point_promotion<float volatile>{ typedef double volatile type; };
15 template<> struct floating_point_promotion<float const volatile> { typedef double const volatile type; };
16
17}
18
19#endif // #ifndef FILE_boost_type_traits_floating_point_promotion_hpp_INCLUDED
20