Re: [Boost-users] [Asio]Question about error_code when socket::close

void Read() { // this line is very slow, // because boost::bind(&Session::HandleRead,shared_from_this(), ...) // causes extra new/delete operations
My test result:
---------------------------------- raw ptr version
------------------------
a.cc:
class A
{
public:
void f() {}
};
int main() {
A a;
boost::function
participants (1)
-
Comet