|
Boost : |
From: Miguel Tadeu (m_tadeu_at_[hidden])
Date: 2007-10-19 11:09:23
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_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On Behalf Of Miguel Tadeu
> Sent: Thursday, October 18, 2007 10:15 PM
> To: boost_at_[hidden]
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk