1 // 2 // detail/dependent_type.hpp 3 // ~~~~~~~~~~~~~~~~~~~~~~~~~ 4 // 5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) 6 // 7 // Distributed under the Boost Software License, Version 1.0. (See accompanying 8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 // 10 11 #ifndef ASIO_DETAIL_DEPENDENT_TYPE_HPP 12 #define ASIO_DETAIL_DEPENDENT_TYPE_HPP 13 14 15 #include "asio/detail/config.hpp" 16 17 #include "asio/detail/push_options.hpp" 18 19 namespace asio { 20 namespace detail { 21 22 template <typename DependsOn, typename T> 23 struct dependent_type 24 { 25 typedef T type; 26 }; 27 28 } // namespace detail 29 } // namespace asio 30 31 #include "asio/detail/pop_options.hpp" 32 33 #endif // ASIO_DETAIL_DEPENDENT_TYPE_HPP 34