typedef in templated base class, won't compile

Olivier Delannoy olivier.delannoy@gmail.com
Fri Oct 26 00:34:00 GMT 2007


    template<class TEMPLATE_ARG>
    class Child : public Base<TEMPLATE_ARG>
    {
    public:
      typename Base<TEMPLATE_ARG>::MyType *MakeObject();
    };

 This fix the compilation error for me.



More information about the Gcc-help mailing list