|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2007-09-20 18:30:55
Author: chris_kohlhoff
Date: 2007-09-20 18:30:54 EDT (Thu, 20 Sep 2007)
New Revision: 39431
URL: http://svn.boost.org/trac/boost/changeset/39431
Log:
Some compilers require namespace-scope declarations of use_service,
has_service and add_service.
Text files modified:
trunk/boost/asio/io_service.hpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Modified: trunk/boost/asio/io_service.hpp
==============================================================================
--- trunk/boost/asio/io_service.hpp (original)
+++ trunk/boost/asio/io_service.hpp 2007-09-20 18:30:54 EDT (Thu, 20 Sep 2007)
@@ -40,6 +40,11 @@
namespace boost {
namespace asio {
+class io_service;
+template <typename Service> Service& use_service(io_service& ios);
+template <typename Service> void add_service(io_service& ios, Service* svc);
+template <typename Service> bool has_service(io_service& ios);
+
/// Provides core I/O functionality.
/**
* The io_service class provides the core I/O functionality for users of the
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