26 Dec
2009
26 Dec
'09
3:48 a.m.
On Fri, Dec 25, 2009 at 8:43 PM, Emil Dotchevski
On Fri, Dec 25, 2009 at 6:25 PM, Ray Burkholder
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.