Re: typedef in templated base class, won't compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 This fix the compilation error for me.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux