Skip to content
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

Creating containers of non-copyable data types #6

Open
haudren opened this issue Mar 24, 2016 · 0 comments
Open

Creating containers of non-copyable data types #6

haudren opened this issue Mar 24, 2016 · 0 comments

Comments

@haudren
Copy link
Contributor

haudren commented Mar 24, 2016

In relation with #5 , I tried to bind a container of non-copyable data types (They inherit from boost::noncopyable) but pybindgen explictly tries to copy the inner data types. Given how the the code is generated right now, I don't think that there is an easy way to solve this within Pybindgen (I ended up creating a free function that would return a copyable version of the non-copyable objects) but it would be nice to maybe specify it in the documentation ?

Cheers,
Hervé

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant