
No, nothing to do with that. It uses boost::function and boost::bind, stl::vector and boost::any to create an abstraction to a call. So all your calls look like boost::any call( const vector<boost::any> ¶ms ); Jarrad Waterloo wrote:
Could you please provide additional information? Does it have anything to do with creating a stack frame dynamically by pushing and popping values for calling functions dynamically?
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Miguel Tadeu Sent: Thursday, October 18, 2007 10:15 PM To: boost@lists.boost.org Subject: [boost] [callback abstraction]Determining interest for proposal
I wrote a small library that attempts to abstract function calls. This proved me useful in the following situations:
- when I need to find a callback function( lots of if's or big switch ) - when I deal with communication frames with opcodes - several other libraries use callback mechanisms( i.e: dbus )
and brings these advantages: - cleaner code( main objective ) - makes possible to isolate class implementations from the low level call - makes it easy to implement a polymorphism like mechanism
Currentely, it's in beta phase. If enough interest is shown, there is surely room for minor improvements.
Thanks, Miguel Tadeu _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost