Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85753 - in trunk/boost/asio: . detail
From: chris_at_[hidden]
Date: 2013-09-17 18:00:53


Author: chris_kohlhoff
Date: 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013)
New Revision: 85753
URL: http://svn.boost.org/trac/boost/changeset/85753

Log:
Clean up some internal forward declarations.

Deleted:
   trunk/boost/asio/detail/dev_poll_reactor_fwd.hpp
   trunk/boost/asio/detail/epoll_reactor_fwd.hpp
   trunk/boost/asio/detail/kqueue_reactor_fwd.hpp
   trunk/boost/asio/detail/select_reactor_fwd.hpp
   trunk/boost/asio/detail/service_registry_fwd.hpp
   trunk/boost/asio/detail/task_io_service_fwd.hpp
   trunk/boost/asio/detail/timer_queue_fwd.hpp
   trunk/boost/asio/detail/win_iocp_io_service_fwd.hpp
Text files modified:
   trunk/boost/asio/detail/dev_poll_reactor.hpp | 2 --
   /dev/null | 34 ----------------------------------
   trunk/boost/asio/detail/epoll_reactor.hpp | 2 --
   /dev/null | 34 ----------------------------------
   trunk/boost/asio/detail/kqueue_reactor.hpp | 2 --
   /dev/null | 35 -----------------------------------
   trunk/boost/asio/detail/reactor_fwd.hpp | 22 +++++-----------------
   trunk/boost/asio/detail/select_reactor.hpp | 2 --
   /dev/null | 28 ----------------------------
   /dev/null | 28 ----------------------------
   trunk/boost/asio/detail/task_io_service.hpp | 3 ++-
   /dev/null | 30 ------------------------------
   trunk/boost/asio/detail/task_io_service_operation.hpp | 3 ++-
   trunk/boost/asio/detail/task_io_service_thread_info.hpp | 4 +++-
   trunk/boost/asio/detail/timer_queue_base.hpp | 3 +++
   /dev/null | 29 -----------------------------
   trunk/boost/asio/detail/timer_scheduler_fwd.hpp | 22 +++++-----------------
   trunk/boost/asio/detail/win_iocp_io_service.hpp | 2 --
   /dev/null | 35 -----------------------------------
   trunk/boost/asio/detail/win_iocp_operation.hpp | 3 ++-
   trunk/boost/asio/io_service.hpp | 14 +++++---------
   21 files changed, 27 insertions(+), 310 deletions(-)

Modified: trunk/boost/asio/detail/dev_poll_reactor.hpp
==============================================================================
--- trunk/boost/asio/detail/dev_poll_reactor.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/dev_poll_reactor.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -22,7 +22,6 @@
 #include <cstddef>
 #include <vector>
 #include <sys/devpoll.h>
-#include <boost/asio/detail/dev_poll_reactor_fwd.hpp>
 #include <boost/asio/detail/hash_map.hpp>
 #include <boost/asio/detail/limits.hpp>
 #include <boost/asio/detail/mutex.hpp>
@@ -32,7 +31,6 @@
 #include <boost/asio/detail/select_interrupter.hpp>
 #include <boost/asio/detail/socket_types.hpp>
 #include <boost/asio/detail/timer_queue_base.hpp>
-#include <boost/asio/detail/timer_queue_fwd.hpp>
 #include <boost/asio/detail/timer_queue_set.hpp>
 #include <boost/asio/detail/wait_op.hpp>
 #include <boost/asio/io_service.hpp>

Deleted: trunk/boost/asio/detail/dev_poll_reactor_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/dev_poll_reactor_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85752)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,34 +0,0 @@
-//
-// detail/dev_poll_reactor_fwd.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#ifndef BOOST_ASIO_DETAIL_DEV_POLL_REACTOR_FWD_HPP
-#define BOOST_ASIO_DETAIL_DEV_POLL_REACTOR_FWD_HPP
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma once
-#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
-
-#include <boost/asio/detail/config.hpp>
-
-#if defined(BOOST_ASIO_HAS_DEV_POLL)
-
-namespace boost {
-namespace asio {
-namespace detail {
-
-class dev_poll_reactor;
-
-} // namespace detail
-} // namespace asio
-} // namespace boost
-
-#endif // defined(BOOST_ASIO_HAS_DEV_POLL)
-
-#endif // BOOST_ASIO_DETAIL_DEV_POLL_REACTOR_FWD_HPP

Modified: trunk/boost/asio/detail/epoll_reactor.hpp
==============================================================================
--- trunk/boost/asio/detail/epoll_reactor.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/epoll_reactor.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -21,7 +21,6 @@
 
 #include <boost/asio/io_service.hpp>
 #include <boost/asio/detail/atomic_count.hpp>
-#include <boost/asio/detail/epoll_reactor_fwd.hpp>
 #include <boost/asio/detail/limits.hpp>
 #include <boost/asio/detail/mutex.hpp>
 #include <boost/asio/detail/object_pool.hpp>
@@ -30,7 +29,6 @@
 #include <boost/asio/detail/select_interrupter.hpp>
 #include <boost/asio/detail/socket_types.hpp>
 #include <boost/asio/detail/timer_queue_base.hpp>
-#include <boost/asio/detail/timer_queue_fwd.hpp>
 #include <boost/asio/detail/timer_queue_set.hpp>
 #include <boost/asio/detail/wait_op.hpp>
 

Deleted: trunk/boost/asio/detail/epoll_reactor_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/epoll_reactor_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85752)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,34 +0,0 @@
-//
-// detail/epoll_reactor_fwd.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#ifndef BOOST_ASIO_DETAIL_EPOLL_REACTOR_FWD_HPP
-#define BOOST_ASIO_DETAIL_EPOLL_REACTOR_FWD_HPP
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma once
-#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
-
-#include <boost/asio/detail/config.hpp>
-
-#if defined(BOOST_ASIO_HAS_EPOLL)
-
-namespace boost {
-namespace asio {
-namespace detail {
-
-class epoll_reactor;
-
-} // namespace detail
-} // namespace asio
-} // namespace boost
-
-#endif // defined(BOOST_ASIO_HAS_EPOLL)
-
-#endif // BOOST_ASIO_DETAIL_EPOLL_REACTOR_FWD_HPP

Modified: trunk/boost/asio/detail/kqueue_reactor.hpp
==============================================================================
--- trunk/boost/asio/detail/kqueue_reactor.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/kqueue_reactor.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -24,7 +24,6 @@
 #include <sys/types.h>
 #include <sys/event.h>
 #include <sys/time.h>
-#include <boost/asio/detail/kqueue_reactor_fwd.hpp>
 #include <boost/asio/detail/limits.hpp>
 #include <boost/asio/detail/mutex.hpp>
 #include <boost/asio/detail/object_pool.hpp>
@@ -33,7 +32,6 @@
 #include <boost/asio/detail/select_interrupter.hpp>
 #include <boost/asio/detail/socket_types.hpp>
 #include <boost/asio/detail/timer_queue_base.hpp>
-#include <boost/asio/detail/timer_queue_fwd.hpp>
 #include <boost/asio/detail/timer_queue_set.hpp>
 #include <boost/asio/detail/wait_op.hpp>
 #include <boost/asio/error.hpp>

Deleted: trunk/boost/asio/detail/kqueue_reactor_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/kqueue_reactor_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85752)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,35 +0,0 @@
-//
-// detail/kqueue_reactor_fwd.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
-// Copyright (c) 2005 Stefan Arentz (stefan at soze dot com)
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#ifndef BOOST_ASIO_DETAIL_KQUEUE_REACTOR_FWD_HPP
-#define BOOST_ASIO_DETAIL_KQUEUE_REACTOR_FWD_HPP
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma once
-#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
-
-#include <boost/asio/detail/config.hpp>
-
-#if defined(BOOST_ASIO_HAS_KQUEUE)
-
-namespace boost {
-namespace asio {
-namespace detail {
-
-class kqueue_reactor;
-
-} // namespace detail
-} // namespace asio
-} // namespace boost
-
-#endif // defined(BOOST_ASIO_HAS_KQUEUE)
-
-#endif // BOOST_ASIO_DETAIL_KQUEUE_REACTOR_FWD_HPP

Modified: trunk/boost/asio/detail/reactor_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/reactor_fwd.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/reactor_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -17,32 +17,20 @@
 
 #include <boost/asio/detail/config.hpp>
 
-#if defined(BOOST_ASIO_HAS_IOCP)
-# include <boost/asio/detail/select_reactor_fwd.hpp>
-#elif defined(BOOST_ASIO_HAS_EPOLL)
-# include <boost/asio/detail/epoll_reactor_fwd.hpp>
-#elif defined(BOOST_ASIO_HAS_KQUEUE)
-# include <boost/asio/detail/kqueue_reactor_fwd.hpp>
-#elif defined(BOOST_ASIO_HAS_DEV_POLL)
-# include <boost/asio/detail/dev_poll_reactor_fwd.hpp>
-#else
-# include <boost/asio/detail/select_reactor_fwd.hpp>
-#endif
-
 namespace boost {
 namespace asio {
 namespace detail {
 
 #if defined(BOOST_ASIO_HAS_IOCP)
-typedef select_reactor reactor;
+typedef class select_reactor reactor;
 #elif defined(BOOST_ASIO_HAS_EPOLL)
-typedef epoll_reactor reactor;
+typedef class epoll_reactor reactor;
 #elif defined(BOOST_ASIO_HAS_KQUEUE)
-typedef kqueue_reactor reactor;
+typedef class kqueue_reactor reactor;
 #elif defined(BOOST_ASIO_HAS_DEV_POLL)
-typedef dev_poll_reactor reactor;
+typedef class dev_poll_reactor reactor;
 #else
-typedef select_reactor reactor;
+typedef class select_reactor reactor;
 #endif
 
 } // namespace detail

Modified: trunk/boost/asio/detail/select_reactor.hpp
==============================================================================
--- trunk/boost/asio/detail/select_reactor.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/select_reactor.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -30,10 +30,8 @@
 #include <boost/asio/detail/reactor_op.hpp>
 #include <boost/asio/detail/reactor_op_queue.hpp>
 #include <boost/asio/detail/select_interrupter.hpp>
-#include <boost/asio/detail/select_reactor_fwd.hpp>
 #include <boost/asio/detail/socket_types.hpp>
 #include <boost/asio/detail/timer_queue_base.hpp>
-#include <boost/asio/detail/timer_queue_fwd.hpp>
 #include <boost/asio/detail/timer_queue_set.hpp>
 #include <boost/asio/detail/wait_op.hpp>
 #include <boost/asio/io_service.hpp>

Deleted: trunk/boost/asio/detail/select_reactor_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/select_reactor_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85752)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,28 +0,0 @@
-//
-// detail/select_reactor_fwd.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#ifndef BOOST_ASIO_DETAIL_SELECT_REACTOR_FWD_HPP
-#define BOOST_ASIO_DETAIL_SELECT_REACTOR_FWD_HPP
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma once
-#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
-
-namespace boost {
-namespace asio {
-namespace detail {
-
-class select_reactor;
-
-} // namespace detail
-} // namespace asio
-} // namespace boost
-
-#endif // BOOST_ASIO_DETAIL_SELECT_REACTOR_FWD_HPP

Deleted: trunk/boost/asio/detail/service_registry_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/service_registry_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85752)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,28 +0,0 @@
-//
-// detail/service_registry_fwd.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#ifndef BOOST_ASIO_DETAIL_SERVICE_REGISTRY_FWD_HPP
-#define BOOST_ASIO_DETAIL_SERVICE_REGISTRY_FWD_HPP
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma once
-#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
-
-namespace boost {
-namespace asio {
-namespace detail {
-
-class service_registry;
-
-} // namespace detail
-} // namespace asio
-} // namespace boost
-
-#endif // BOOST_ASIO_DETAIL_SERVICE_REGISTRY_FWD_HPP

Modified: trunk/boost/asio/detail/task_io_service.hpp
==============================================================================
--- trunk/boost/asio/detail/task_io_service.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/task_io_service.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -26,7 +26,6 @@
 #include <boost/asio/detail/mutex.hpp>
 #include <boost/asio/detail/op_queue.hpp>
 #include <boost/asio/detail/reactor_fwd.hpp>
-#include <boost/asio/detail/task_io_service_fwd.hpp>
 #include <boost/asio/detail/task_io_service_operation.hpp>
 
 #include <boost/asio/detail/push_options.hpp>
@@ -35,6 +34,8 @@
 namespace asio {
 namespace detail {
 
+struct task_io_service_thread_info;
+
 class task_io_service
   : public boost::asio::detail::service_base<task_io_service>
 {

Deleted: trunk/boost/asio/detail/task_io_service_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/task_io_service_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85752)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,30 +0,0 @@
-//
-// detail/task_io_service_fwd.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#ifndef BOOST_ASIO_DETAIL_TASK_IO_SERVICE_FWD_HPP
-#define BOOST_ASIO_DETAIL_TASK_IO_SERVICE_FWD_HPP
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma once
-#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
-
-namespace boost {
-namespace asio {
-namespace detail {
-
-class task_io_service;
-class task_io_service_operation;
-struct task_io_service_thread_info;
-
-} // namespace detail
-} // namespace asio
-} // namespace boost
-
-#endif // BOOST_ASIO_DETAIL_TASK_IO_SERVICE_FWD_HPP

Modified: trunk/boost/asio/detail/task_io_service_operation.hpp
==============================================================================
--- trunk/boost/asio/detail/task_io_service_operation.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/task_io_service_operation.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -18,7 +18,6 @@
 #include <boost/system/error_code.hpp>
 #include <boost/asio/detail/handler_tracking.hpp>
 #include <boost/asio/detail/op_queue.hpp>
-#include <boost/asio/detail/task_io_service_fwd.hpp>
 
 #include <boost/asio/detail/push_options.hpp>
 
@@ -26,6 +25,8 @@
 namespace asio {
 namespace detail {
 
+class task_io_service;
+
 // Base class for all operations. A function pointer is used instead of virtual
 // functions to avoid the associated overhead.
 class task_io_service_operation BOOST_ASIO_INHERIT_TRACKED_HANDLER

Modified: trunk/boost/asio/detail/task_io_service_thread_info.hpp
==============================================================================
--- trunk/boost/asio/detail/task_io_service_thread_info.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/task_io_service_thread_info.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -17,7 +17,6 @@
 
 #include <boost/asio/detail/event.hpp>
 #include <boost/asio/detail/op_queue.hpp>
-#include <boost/asio/detail/task_io_service_fwd.hpp>
 #include <boost/asio/detail/thread_info_base.hpp>
 
 #include <boost/asio/detail/push_options.hpp>
@@ -26,6 +25,9 @@
 namespace asio {
 namespace detail {
 
+class task_io_service;
+class task_io_service_operation;
+
 struct task_io_service_thread_info : public thread_info_base
 {
   event* wakeup_event;

Modified: trunk/boost/asio/detail/timer_queue_base.hpp
==============================================================================
--- trunk/boost/asio/detail/timer_queue_base.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/timer_queue_base.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -58,6 +58,9 @@
   timer_queue_base* next_;
 };
 
+template <typename Time_Traits>
+class timer_queue;
+
 } // namespace detail
 } // namespace asio
 } // namespace boost

Deleted: trunk/boost/asio/detail/timer_queue_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/timer_queue_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85752)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,29 +0,0 @@
-//
-// detail/timer_queue_fwd.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#ifndef BOOST_ASIO_DETAIL_TIMER_QUEUE_FWD_HPP
-#define BOOST_ASIO_DETAIL_TIMER_QUEUE_FWD_HPP
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma once
-#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
-
-namespace boost {
-namespace asio {
-namespace detail {
-
-template <typename Time_Traits>
-class timer_queue;
-
-} // namespace detail
-} // namespace asio
-} // namespace boost
-
-#endif // BOOST_ASIO_DETAIL_TIMER_QUEUE_FWD_HPP

Modified: trunk/boost/asio/detail/timer_scheduler_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/timer_scheduler_fwd.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/timer_scheduler_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -17,32 +17,20 @@
 
 #include <boost/asio/detail/config.hpp>
 
-#if defined(BOOST_ASIO_HAS_IOCP)
-# include <boost/asio/detail/win_iocp_io_service_fwd.hpp>
-#elif defined(BOOST_ASIO_HAS_EPOLL)
-# include <boost/asio/detail/epoll_reactor_fwd.hpp>
-#elif defined(BOOST_ASIO_HAS_KQUEUE)
-# include <boost/asio/detail/kqueue_reactor_fwd.hpp>
-#elif defined(BOOST_ASIO_HAS_DEV_POLL)
-# include <boost/asio/detail/dev_poll_reactor_fwd.hpp>
-#else
-# include <boost/asio/detail/select_reactor_fwd.hpp>
-#endif
-
 namespace boost {
 namespace asio {
 namespace detail {
 
 #if defined(BOOST_ASIO_HAS_IOCP)
-typedef win_iocp_io_service timer_scheduler;
+typedef class win_iocp_io_service timer_scheduler;
 #elif defined(BOOST_ASIO_HAS_EPOLL)
-typedef epoll_reactor timer_scheduler;
+typedef class epoll_reactor timer_scheduler;
 #elif defined(BOOST_ASIO_HAS_KQUEUE)
-typedef kqueue_reactor timer_scheduler;
+typedef class kqueue_reactor timer_scheduler;
 #elif defined(BOOST_ASIO_HAS_DEV_POLL)
-typedef dev_poll_reactor timer_scheduler;
+typedef class dev_poll_reactor timer_scheduler;
 #else
-typedef select_reactor timer_scheduler;
+typedef class select_reactor timer_scheduler;
 #endif
 
 } // namespace detail

Modified: trunk/boost/asio/detail/win_iocp_io_service.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_io_service.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/win_iocp_io_service.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -28,10 +28,8 @@
 #include <boost/asio/detail/socket_types.hpp>
 #include <boost/asio/detail/thread.hpp>
 #include <boost/asio/detail/timer_queue_base.hpp>
-#include <boost/asio/detail/timer_queue_fwd.hpp>
 #include <boost/asio/detail/timer_queue_set.hpp>
 #include <boost/asio/detail/wait_op.hpp>
-#include <boost/asio/detail/win_iocp_io_service_fwd.hpp>
 #include <boost/asio/detail/win_iocp_operation.hpp>
 #include <boost/asio/detail/win_iocp_thread_info.hpp>
 

Deleted: trunk/boost/asio/detail/win_iocp_io_service_fwd.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_io_service_fwd.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85752)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,35 +0,0 @@
-//
-// detail/win_iocp_io_service_fwd.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
-//
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#ifndef BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
-#define BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma once
-#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
-
-#include <boost/asio/detail/config.hpp>
-
-#if defined(BOOST_ASIO_HAS_IOCP)
-
-namespace boost {
-namespace asio {
-namespace detail {
-
-class win_iocp_io_service;
-class win_iocp_overlapped_ptr;
-
-} // namespace detail
-} // namespace asio
-} // namespace boost
-
-#endif // defined(BOOST_ASIO_HAS_IOCP)
-
-#endif // BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP

Modified: trunk/boost/asio/detail/win_iocp_operation.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_operation.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/detail/win_iocp_operation.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -22,7 +22,6 @@
 #include <boost/asio/detail/handler_tracking.hpp>
 #include <boost/asio/detail/op_queue.hpp>
 #include <boost/asio/detail/socket_types.hpp>
-#include <boost/asio/detail/win_iocp_io_service_fwd.hpp>
 #include <boost/system/error_code.hpp>
 
 #include <boost/asio/detail/push_options.hpp>
@@ -31,6 +30,8 @@
 namespace asio {
 namespace detail {
 
+class win_iocp_io_service;
+
 // Base class for all operations. A function pointer is used instead of virtual
 // functions to avoid the associated overhead.
 class win_iocp_operation

Modified: trunk/boost/asio/io_service.hpp
==============================================================================
--- trunk/boost/asio/io_service.hpp Tue Sep 17 17:53:45 2013 (r85752)
+++ trunk/boost/asio/io_service.hpp 2013-09-17 18:00:53 EDT (Tue, 17 Sep 2013) (r85753)
@@ -21,16 +21,9 @@
 #include <typeinfo>
 #include <boost/asio/async_result.hpp>
 #include <boost/asio/detail/noncopyable.hpp>
-#include <boost/asio/detail/service_registry_fwd.hpp>
 #include <boost/asio/detail/wrapped_handler.hpp>
 #include <boost/system/error_code.hpp>
 
-#if defined(BOOST_ASIO_HAS_IOCP)
-# include <boost/asio/detail/win_iocp_io_service_fwd.hpp>
-#else
-# include <boost/asio/detail/task_io_service_fwd.hpp>
-#endif
-
 #if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
 # include <boost/asio/detail/winsock_init.hpp>
 #elif defined(__sun) || defined(__QNX__) || defined(__hpux) || defined(_AIX) \
@@ -48,11 +41,14 @@
 template <typename Service> void add_service(io_service& ios, Service* svc);
 template <typename Service> bool has_service(io_service& ios);
 
+namespace detail {
 #if defined(BOOST_ASIO_HAS_IOCP)
-namespace detail { typedef win_iocp_io_service io_service_impl; }
+ typedef class win_iocp_io_service io_service_impl;
 #else
-namespace detail { typedef task_io_service io_service_impl; }
+ typedef class task_io_service io_service_impl;
 #endif
+ class service_registry;
+} // namespace detail
 
 /// Provides core I/O functionality.
 /**


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk