
18 May
2005
18 May
'05
7:59 p.m.
private: struct Private; boost::scoped_ptr<Private> d; };
When working with Qt, i suggest to write the Pimpl idiom like this, since the generated code from moc needs access to your FooPrivate, in cases. struct FooPrivate; class Foo { private: FooPrivate* pimpl_; }; --David