Open mkolin opened 2 years ago
The found class really has no methods as far as the bindings generation is concerned.
If instead of template <> struct Test2<float> { };
, template <> struct Test2<float, void> { };
is used, then it does have all expected methods.
Looks like something deep inside Cling (as-is, Test2<float>
and Test2<float,void>
are found as the same class, though, in both cases, so it's not a problem of failure to update or having duplicates).
First off, very cool library. I say that with each ticket because its just really neat.
Not a huge issue, but the behavior of template instantiation differs from vanilla template classes and classes with default parameters. An attempt to instantiate a class with a default parameter seems to "break" it even after it later gets defined.
The steps are: