|
Boost : |
Subject: Re: [boost] Should Boost adopt pimpl/d-pointer as much as it can?
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-03-21 01:09:08
> > I created a simple example of echo server written with
> > Boost.Asio and written with a small pimpl-wrapped
> > Boost.Asio
>
> <snip>
> It's fairly easy to convert
> a non-pimpl interface into a pimpl one, espcially if you
> need only a subset of it;
>
You are wrong. I would even say, you are absolutely wrong. Have you ever
tried to "pimplize" Boost.Asio even with small subset?
I'm thinking about this more then a year. I'm active used of Asio in
production environment and I still had to learn **a lot** about structure
of Asio and implement few dozen pimpl interfaces in various libraries in
order to write **any** kind of wrapper for Asio.
So do not expect from average Boost user to wrap Asio or even simpler
libraries.
Artyom
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk