-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to expose types that are mostly just a wrapper around a collection #1643
Comments
im now trying to get unknown_read/unknown_write to just read/dump values from the "self" object but lambdas arent supported for those, only member function and object pointers... |
What kind of wrapper is this? Consider how the wrapper's purpose should be seen in JSON. For example, Lambdas are allowed for self and for Can you provide a simple code example of what your wrapper is like and what its purpose is? Take a look at |
I actually tried just exposing the inside vector but I kept getting strange errors I couldn't fix like mangled_name not defined (which I couldn't fix even by adding "name" to meta for the inner key/collection type, I think it's because those types were templates ?) |
Use |
i have some types that are just a wrapper around vector, map, etc
i thought just passing through cbegin/cend/begin/end/at/operator[] key_type and value_type would be enough but it doesn't seem to be
the internal collection member is private so i can't just passthrough that one via a lambda
The text was updated successfully, but these errors were encountered: