Boost logo

Boost :

Subject: Re: [boost] Should Boost adopt pimpl/d-pointer as much as it can?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-03-21 14:48:03


Artyom wrote:

> Why? I give you a simple example: one of the pearls of Boost: Boost.Asio
> is one of most painful libraries to use. [because it is header-only]

I believe asio is header-only because the author finds that more
practical to use and deploy.

It is him you should try to convince otherwise.

> Result (liked executable size with gcc-4.3):
>
> Build Size (-Os stripped)
> Asio: 245K
> Pimpl: 190K

Could you try this while whole program optimization (gcc 4.5+) turned on
and tell me whether there is still a difference?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk