From 7e67ec6336efaaf3929547292efab1ca3bedbcf3 Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Thu, 20 Sep 2007 22:30:54 +0000 Subject: [PATCH] Some compilers require namespace-scope declarations of use_service, has_service and add_service. [SVN r39431] --- include/boost/asio/io_service.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/asio/io_service.hpp b/include/boost/asio/io_service.hpp index 5e337835..27aabb10 100644 --- a/include/boost/asio/io_service.hpp +++ b/include/boost/asio/io_service.hpp @@ -40,6 +40,11 @@ namespace boost { namespace asio { +class io_service; +template Service& use_service(io_service& ios); +template void add_service(io_service& ios, Service* svc); +template 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