KDE/kdelibs/kjs

Dirk Mueller mueller at kde.org
Mon Feb 20 15:12:35 CET 2006


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//\


More information about the Khtml-devel mailing list