In Enforce Script, there is no possibility to inhert from a templated class without specifying the template. The only workaround currently is to explicitly implement all possible types which are used. But this procedure obviously contradicts the basic idea of templates. If one tries to keep the template in the child class, the compiler raises an error.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- General
Steps To Reproduce
Try to compile the following code:
test_base<Class T> {} test_1<Class T> : test_base<T> {}
It raises the error Unknown type 'T'.