This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: typedef in templated base class, won't compile
- From: "Olivier Delannoy" <olivier dot delannoy at gmail dot com>
- To: "John Gateley" <gateley at jriver dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 26 Oct 2007 00:16:06 +0200
- Subject: Re: typedef in templated base class, won't compile
- References: <20071025170911.b96758d8.gateley@jriver.com> <2b9a46b30710251514x27dafd07v4c126cd9a54a0e1a@mail.gmail.com>
template<class TEMPLATE_ARG>
class Child : public Base<TEMPLATE_ARG>
{
public:
typename Base<TEMPLATE_ARG>::MyType *MakeObject();
};
This fix the compilation error for me.