On segunda-feira, 12 de setembro de 2016 22:13:18 PDT 'Karsten Ahnert' via ISO
C++ Standard - Discussion wrote:
> I think I understand why it is currently not possible to use this kind of
> CRTP base class. But I wonder wether it is possible to implement such a
> feature in the C++ language? It seems that Derived needs to be parsed
> before Base<Derived> can be instantiated. I am not sure if this is possible
> in general. Any ideas?
No, it's not. For Derived to be parsed, the compiler needs to parse its base
class, which is Base<Derived>.
--
Thiago Macieira - thiago (AT)
macieira.info - thiago (AT)
kde.org
Software Architect - Intel Open Source Technology Center