-
Notifications
You must be signed in to change notification settings - Fork 11
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
Replace boost::shared_ptr with std::shared_ptr #168
Conversation
e1ab0b7
to
ed52bd4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this long-overdue set of changes! I think this is ready to merge. It is probably worth noting in the commit message when you do that you have updated cereal as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no issues.
Thanks for this work! I confirm that (with a couple small modifications), the downstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Boost version 1.63 and newer supports
std::shared_ptr
python converters. Thus, in this PR, all boost shared pointers are replaced with standard library shared pointers everywhere in the library. The required C++ standard is also increased to C++17, since shared pointers for allocated C arrays do not work with the older standards.In the process, this PR also updates the cereal library to the latest version (1.3.2) without any patching.