Fixed lots of places that assumed one template argument that were used by std::vector. Remove explicit checks for type vector.
Use a modified abstract declarator in the statements names. This uses a shorter name which maps more directly to the C++ declaration. Eliminate explicit use of scalar.
Add option.typemap_sgroup to set the Typemap.sgroup field for a class/struct which allows control of which statements are used to create the wrapper. This allows a user to create custom wrappers similar to the way std::vector is wrapped. See example in sgroup.yaml.
Add format field targs to allow access to template arguments typemaps. ex {targs[0].cxx_type}. Before the first template argument replaced the arguments typemap. This worked for std::vector.
Fixed lots of places that assumed one template argument that were used by
std::vector
. Remove explicit checks for typevector
.Use a modified abstract declarator in the statements names. This uses a shorter name which maps more directly to the C++ declaration. Eliminate explicit use of
scalar
.Otherwise, multiple template arguments would become unwieldy:
would become:
Add option.typemap_sgroup to set the
Typemap.sgroup
field for a class/struct which allows control of which statements are used to create the wrapper. This allows a user to create custom wrappers similar to the waystd::vector
is wrapped. See example insgroup.yaml
.Add format field targs to allow access to template arguments typemaps. ex
{targs[0].cxx_type}
. Before the first template argument replaced the arguments typemap. This worked forstd::vector
.