Open
Description
Split off from #106. At the moment, a templated C++ type gets made into a completely opaque type called AutocxxConcrete0
...n
. These types don't have constructors, accessors, or methods, so are useless except as an opaque token passed from C++, through Rust, back into C++.
Options are:
- Make
cxx
accept templated types, as mentioned in Dependent qualified types don't work #106 (comment) and Functions and opaque types with type parameters dtolnay/cxx#767 - Alternatively (far less preferably) add constructors, methods and accessors to these types to make them actually useful.