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

container_policy bug? smart pointer casts. #21

Open
decimad opened this issue Oct 16, 2013 · 1 comment
Open

container_policy bug? smart pointer casts. #21

decimad opened this issue Oct 16, 2013 · 1 comment

Comments

@decimad
Copy link

decimad commented Oct 16, 2013

Hello,
is there still something going on here? I mentioned a bug in the container_converter-policy over at Ryan's repository.
Also I'd like to discuss the option whether adding custom casts to the cast graph wouldn't maybe be preferrable to the deleter hacks that fail one way or another, regarding the smart pointer cast problem. That would mean to use boost::any or an equivalent to pass the value type through, however we know such situations beforehands, so there can be a special branch covering smart pointers only, I think.

Seem to be busy times everywhere run off

@decimad
Copy link
Author

decimad commented Oct 16, 2013

There's an even much (much!) better way for the pointer casts, I didn't read up all the different constructor overloads that recent smart pointers support. Will implement and check back with results.

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

No branches or pull requests

2 participants