On Monday, 20. February 2006 15:07, Peter Kümmel wrote: > And it only compiles with ::creator<C>(); So this compiles? namespace KJS { struct C : ::A { friend A* ::creator<C>(); A* getAPtr() { return ::creator<C>(); } private: C(){} }; } Thats perfect, because thats how it should be. Also compiles with all compilers I have around. -- Dirk//\