|
Boost : |
From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-04-17 01:50:41
"Douglas Gregor" <gregod_at_[hidden]> wrote in message
news:200204170412.g3H4Cdc24684_at_mailout6-0.nyroc.rr.com...
> I meant to do it 'later', but here's a comparison now. Disclaimer: I
don't
> have MC++D around, so my comments about Loki Functor are based on my
reading
> of the source code. I'll refer to Loki Functor and Boost.Function as
> "function object wrappers" throughout.
Hey, great, lucid comparison. Cool.
Your points are very good and I agree with all, except this guy:
> Issue: binding an object to a member function pointer
> - Loki Functor: a constructor exists that takes a pointer to an
object (or
> anything that acts like a pointer) and a pointer-to-member-function
and binds
> the object pointer to the first argument of the member function
pointer.
> - Boost.Function: no equivalent.
> - My opinion: we talked this one to death, repeatedly. I still
think that
> binding is out-of-scope for a function object wrapper library,
because it
> will inevitable be done better by another library (Bind, Lambda,
Phoenix,
> etc.).
> - Proposed resolution: No change.
Given that you guys have beaten this to death, I guess all arguments
have been said, so I'll have to look there.
Andrei
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk