File indexing completed on 2025-01-18 09:53:12
0001
0002
0003
0004
0005
0006 #ifndef FILE_boost_type_traits_promote_hpp_INCLUDED
0007 #define FILE_boost_type_traits_promote_hpp_INCLUDED
0008
0009 #include <boost/config.hpp>
0010 #include <boost/type_traits/integral_promotion.hpp>
0011 #include <boost/type_traits/floating_point_promotion.hpp>
0012
0013 namespace boost {
0014
0015 template<class T> struct promote : public integral_promotion<typename floating_point_promotion<T>::type>{};
0016
0017 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
0018
0019 template <class T> using promote_t = typename promote<T>::type;
0020
0021 #endif
0022
0023 }
0024
0025 #endif
0026