1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Bug: g++ tries to generate an op= for DbmItem and fails. // Build don't link: class RefCount{ public: RefCount(); private: RefCount& operator=(const RefCount); }; class DbmItem: public RefCount{ public: DbmItem(): RefCount() {}; };