SWIG does not seem to parse partial specializations of the form
template <T> class A< B<T> >;
An example interface file that produces incorrect wrappers is attached. After building the example, note that the "Example_Tag_int" class does not have a wrapped "b" method (but it should, according to the C++). I have only tested the issue with Python as the target language, but I suspect the problem is present in other targets as well.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
interface file to reproduce bug
It's not a parse failure as the report seems to suggest, but indeed there still doesn't seem to be a wrapper generated for the
b()
method with current git.Last edit: Olly Betts 2022-02-02
Duplicate of https://github.com/swig/swig/issues/1300 which is now fixed.