Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:12

0001 // Copyright 2005 Alexander Nasonov.
0002 // Distributed under the Boost Software License, Version 1.0. (See
0003 // accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
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 // #ifndef FILE_boost_type_traits_promote_hpp_INCLUDED
0026