Boost Users :
Subject: Re: [Boost-users] boost::bind replacements
From: Dmitriy Matison (matison.d_at_[hidden])
Date: 2011-09-17 15:06:14
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.
On 17 September 2011 21:46, Littlefield, Tyler <tyler_at_[hidden]> wrote:
> 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
> Take care,
> Web: http://tds-solutions.net
> The Aspen project: a light-weight barebones mud engine
> Sent from my toaster.
> Boost-users mailing list
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