Boost logo

Boost :

Subject: Re: [boost] [Booster] Or boost is useless for library developers
From: David Abrahams (dave_at_[hidden])
Date: 2010-05-19 19:54:49

At Wed, 19 May 2010 19:49:33 +0000 (UTC),
Gennadiy Rozental wrote:
> Templates do lead to the larger code size and larger compilation
> time. You can hardly argue with that.

I certainly can. It all depends how they are used. If you use other
means of polymorphism (e.g. virtual functions) on a fine-grained
level, the cost in code size of dispatching to trivial functions that
could otherwise be inlined can easily overwhelm “template code bloat.”

Not that I'm saying a networking library would be designed that way...

Dave Abrahams           Meet me at BoostCon:
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at