2 Copyright 2007 John Maddock.
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt).
8 [section:floating_point_promotion floating_point_promotion]
11 struct floating_point_promotion
16 __type If floating point promotion can be applied to an rvalue of type `T`,
17 then applies floating point promotion to `T` and keeps cv-qualifiers of `T`,
18 otherwise leaves `T` unchanged.
22 __header ` #include <boost/type_traits/floating_point_promotion.hpp>` or ` #include <boost/type_traits.hpp>`
26 [ [Expression] [Result Type]]
28 [[`floating_point_promotion<float const>::type`][`double const`]]
30 [[`floating_point_promotion<float&>::type`][`float&`]]
32 [[`floating_point_promotion<short>::type`][`short`]]