#include <QtCore/qlinkedlist.h> #ifndef QLINKEDLIST_H template < typename T > class QLinkedList{ /* Some contents are skipped to improve readability */ public: class const_iterator{ /* ... */ public: inline bool operator ==(class QLinkedList::const_iterator const & o) const /* ... */ }; /* ... */ }; #endif // QLINKEDLIST_H