
25 Dec
2009
25 Dec
'09
8:48 p.m.
On Fri, Dec 25, 2009 at 8:43 PM, Emil Dotchevski <emildotchevski@gmail.com> wrote:
On Fri, Dec 25, 2009 at 6:25 PM, Ray Burkholder <ray@oneunified.net> wrote:
I think this falls under the PIMPL idiom, which is described by Herb Sutter at:
http://www.gotw.ca/publications/mill04.htm http://www.gotw.ca/publications/mill05.htm
Quite frankly, I don't see much point in using the PIMPL idiom. I'd much rather use:
struct widget; shared_ptr<widget> make_widget(); void frobnicate( widget & );
Exactly! Ditto. Just what my last post said. It is a very "C" style rather then C++, but its compiling speed enhancements are very nice.