DxLibEx
common_type.hpp
Go to the documentation of this file.
1 /*=============================================================================
2  Copyright (C) 2015-2017 DxLibEx project
3  https://github.com/Nagarei/DxLibEx/
4 
5  Distributed under the Boost Software License, Version 1.0.
6  (See http://www.boost.org/LICENSE_1_0.txt)
7 =============================================================================*/
8 #ifndef DXLE_INC_TYPE_TRAITS_COMMON_TYPE_HPP_
9 #define DXLE_INC_TYPE_TRAITS_COMMON_TYPE_HPP_
10 #include <type_traits>
11 namespace dxle {
13 namespace type_traits {
14  using std::common_type;
15  template<typename... T> using common_type_t = typename common_type<T...>::type;
16 }//namespace
17 using namespace type_traits;
18 }
19 #endif //DXLE_INC_TYPE_TRAITS_COMMON_TYPE_HPP_
Definition: cast_if.hpp:12
typename common_type< T... >::type common_type_t
Definition: common_type.hpp:15