valuetransform not applying to template returned by value

Jeremy Cowles <[email protected]> Fri, 11 Feb 2022 01:35:10 -0800
Newsgroups gmane.comp.programming.swig
Message-ID <CALe5tKSktXHBHJqfQ72CPd1BSVsmL7mV_PHyyz2tGQT4X_+OeA@mail.gmail.com>
hey all,

I have a template that has no default constructor, I think the fulton
transform is supposed to make this work, but it doesn't look like it's
being applied.

I tried adding %valuetransform MyTemplate and all permutations I could
imagine, but it seems the transform is never being applied.

What's the correct way to avoid default construction when returning a type
that has no default ctor?

Thanks!

--
Jeremy

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user