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).
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