Boost logo

Boost Users :

Subject: Re: [Boost-users] asio async_accept
From: Etienne Philip Pretorius (icewolfhunter_at_[hidden])
Date: 2008-09-26 12:17:01


Hello List,

Just got home so now I can give out compiler errors:

without 'static' I get this error:

/usr/include/asio/detail/bind_handler.hpp: In member function ‘void
asio::detail::binder1<Handler, Arg1>::operator()() [with Handler = void
(something::other::service::*)(const asio::error_code&), Arg1 =
asio::error_code]’

http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp

class server
{
public:
...
...
void handle_accept(session* new_session,
       const boost::system::error_code& error)
   {

I see no static declaration.

Any hints?

Etienne Pretorius


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net