]>
Commit | Line | Data |
---|---|---|
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_promote_hpp_INCLUDED | |
7 | #define FILE_boost_type_traits_promote_hpp_INCLUDED | |
8 | ||
9 | #include <boost/config.hpp> | |
10 | #include <boost/type_traits/integral_promotion.hpp> | |
11 | #include <boost/type_traits/floating_point_promotion.hpp> | |
12 | ||
13 | namespace boost { | |
14 | ||
15 | template<class T> struct promote : public integral_promotion<typename floating_point_promotion<T>::type>{}; | |
16 | ||
17 | } | |
18 | ||
19 | #endif // #ifndef FILE_boost_type_traits_promote_hpp_INCLUDED | |
20 |