Subject: Re: [Boost-users] understanding placeholders
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-07-13 01:47:20


Ozgur Ozturk wrote:

> Hi,
> I see in the code some functions are passed
> things like boost::asio::placeholders::bytes_transferred.
> But I didn't understand what is going on, what are their aim?
>

Please compare with, e.g., Boost.Bind's placeholders. In this case
bytes_transferred is similar to _2.

Hope that helps,
Kind regards,

Rutger