
Hello,
Would you, please, tell in more detail about the overhead in binary
size? What are approximate numbers of it? And how badly the
compilation time decreases? I used boost::bind a lot, but haven't
noticed that the overhead makes so much difference. Opposite example
would be valuable.
Thanks,
Dmitriy.
On 17 September 2011 21:46, Littlefield, Tyler
Hello all: I really like boost::bind because I use an event system in my game engine, and it allows me to bind callbacks in classes, rather than having everything as global functions, like they were before. My problem is this. Boost::bind incurs a lot of overhead, both during compilation and in binary size. Is there any way to decrease this? If not, I'm curious if someone could explain how boost::bind works so that I can create my own? I understand function objects can hold function pointers and boost::bind returns a function object, but I'm really confused as to how placeholders work.
--
Take care, Ty Web: http://tds-solutions.net The Aspen project: a light-weight barebones mud engine http://code.google.com/p/aspenmud
Sent from my toaster.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users