------- Comment #16 from rguenth at gcc dot gnu dot org 2009-03-04 12:05 ------- Testcase from comment #5 in a form that is valid if DR 224 is implemented (and which EDG accepts without warnings and errors):
class WvLink { WvLink *data; }; class WvVectorBase { class IterBase { WvLink *cur() const; }; }; template<class T> class WvVector : public WvVectorBase { class Iter : public WvVector::IterBase { T *ptr() const { return static_cast<T *>(cur()->data); } }; }; -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Priority|P3 |P2 Last reconfirmed|2009-03-03 21:14:04 |2009-03-04 12:05:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607