Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Function
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-07-14 03:32:26


On Mon, Jul 13, 2009 at 11:06 AM, Wong Peter <peterapiit_at_[hidden]> wrote:

> What is Boost::function ?
>
> I read the documentation but cann;t find any clear explanation.
>
>
Boost.Function is the generalisation of function pointers to function-like
objects, ie., to
callable objects.

Specifically in callback situations, but also in general, this enables
homogeneous treatment
of callable objects. Function objects offer the benefit of internal state
compared to simple
functions.

HTH

- Rob.



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