|
Boost Users : |
Subject: Re: [Boost-users] asio async_accept
From: sun.aries (sun.aries_at_[hidden])
Date: 2008-09-27 09:57:16
Etienne Philip Pretorius wrote:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Are the example and header file the same version?
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