Boost logo

Boost Users :

From: jbd (evadream.mlist_at_[hidden])
Date: 2006-05-12 20:38:47

Thank you for those pertinents remarks, i agree perfectly.

I just want to train myself by investigating things. My wish is not to
invent something i'm gonna be using everyday, only in my 100 lines
main.cpp files ;)

> At first glance this looks like a very complicated and expensive way
> of adding an OO layer over boost::function, which is *already*
> providing all the dynamic polymorphism you need. I could be missing
> something, but maybe you just need to get comfortable with using
> boost::function and operator() instead of GeneralFunctor and
> execute()? FWIW, there's a reason we do this stuff with operator():
> it improves interoperability (e.g. with STL).
> HTH,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at