Boost logo

Boost Users :

Subject: Re: [Boost-users] pattern support for traversing inheritance chain
From: Nathan Crookston (nathan.crookston_at_[hidden])
Date: 2012-11-07 18:49:02


Hi Brain,

On Wed, Nov 7, 2012 at 4:32 PM, Brian Budge <brian.budge_at_[hidden]> wrote:

> Yes, this seems quite useful. With signal connect, I guess it's
> more-or-less pushing-back on a list of function objects? When the signal
> is called, it iterates the list and calls each function object?
>
Yes, this is the default behavior. The library is much more sophisticated
than just that -- you can play with call order, combining return types and
more. I first used it to do pretty much what you described, however --
it's eliminated the class of 'called wrong base function' and 'forgot to
call base function/ errors.

Nate



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