You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There seems to be a limitation in autocxx when dealing with base classes that are templated. In the provided example, the base class S is a template, and the derived class B1 is unable to call any function from the templated base class or use its type deduction features.
To Reproduce
To reproduce the behavior, the following setup was used with Rust and C++ code snippets:
Expected behavior
The expected behavior is that autocxx should be able to handle template base classes and allow derived classes to call functions from these base classes. In the provided example, we expect B1 to be able to call foo1() from its base class S.
Additional context
Currently, autocxx seems to struggle with template inheritance, leading to difficulties in utilizing base class methods in derived classes. This issue appears to be specific to the handling of template classes in autocxx.
The text was updated successfully, but these errors were encountered:
Did you ever figure out a workaround? It seems like if you implement all the methods and forward it to the super class it works which is really annyoing.
Describe the bug
There seems to be a limitation in autocxx when dealing with base classes that are templated. In the provided example, the base class S is a template, and the derived class B1 is unable to call any function from the templated base class or use its type deduction features.
To Reproduce
To reproduce the behavior, the following setup was used with Rust and C++ code snippets:
C++ Header (input.h):
Rust Code (
main.rs
):Expected behavior
The expected behavior is that autocxx should be able to handle template base classes and allow derived classes to call functions from these base classes. In the provided example, we expect B1 to be able to call foo1() from its base class S.
Additional context
Currently, autocxx seems to struggle with template inheritance, leading to difficulties in utilizing base class methods in derived classes. This issue appears to be specific to the handling of template classes in autocxx.
The text was updated successfully, but these errors were encountered: