summaryrefslogtreecommitdiff
path: root/boost/type_traits/promote.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_traits/promote.hpp')
-rw-r--r--boost/type_traits/promote.hpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/boost/type_traits/promote.hpp b/boost/type_traits/promote.hpp
index 60f6278bad..587617a287 100644
--- a/boost/type_traits/promote.hpp
+++ b/boost/type_traits/promote.hpp
@@ -10,31 +10,11 @@
#include <boost/type_traits/integral_promotion.hpp>
#include <boost/type_traits/floating_point_promotion.hpp>
-// Should be the last #include
-#include <boost/type_traits/detail/type_trait_def.hpp>
-
namespace boost {
-namespace detail {
-
-template<class T>
-struct promote_impl
- : public integral_promotion<
- BOOST_DEDUCED_TYPENAME floating_point_promotion<T>::type
- >
-{
-};
+template<class T> struct promote : public integral_promotion<typename floating_point_promotion<T>::type>{};
}
-BOOST_TT_AUX_TYPE_TRAIT_DEF1(
- promote
- , T
- , BOOST_DEDUCED_TYPENAME boost::detail::promote_impl<T>::type
- )
-}
-
-#include <boost/type_traits/detail/type_trait_undef.hpp>
-
#endif // #ifndef FILE_boost_type_traits_promote_hpp_INCLUDED