|
Boost Users : |
Subject: Re: [Boost-users] [asio] question about binding member function as WaitHandler
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-05 00:19:09
AMDG
eburkitt_at_[hidden] wrote:
> I can see why version 1 won't compile. What I don't understand is why the
> original example, with its in-place function objects, does.
Boost.Bind ignores any arguments that are not used.
void f() {}
boost::bind(f)(2, 3); // ok.
In Christ,
Steven Watanabe
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