Boost logo

Boost Users :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-03-29 18:49:31


Nico Galoppo wrote:

>Hi,
>
>what kind of object does boost::bind return when binding to a class member
>variable ? (as opposed to a member method). Is it a function object too?
>
>
Yes, the result is an unary function object, the parameter being the
object to retrieve the variable of, and which returns a reference to the
member variable.
The exact type of course is a complicated bind expression, so a
non-template is not particularly suited for taking it.

Sebastian Redl


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