Boost logo

Boost Users :

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


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