2 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 // Official repository: https://github.com/boostorg/beast
10 #ifndef BOOST_BEAST_DETAIL_SERVICE_BASE_HPP
11 #define BOOST_BEAST_DETAIL_SERVICE_BASE_HPP
13 #include <boost/asio/execution_context.hpp>
20 struct service_base : net::execution_context::service
22 static net::execution_context::id const id;
25 service_base(net::execution_context& ctx)
26 : net::execution_context::service(ctx)
32 net::execution_context::id const service_base<T>::id;