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

[Impasse] Replaced Boost version of shared_ptr and weak_ptr to STL counterpart #121

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

y2s82
Copy link
Owner

@y2s82 y2s82 commented Nov 29, 2018

fixes #108 #120
It also deleted the include<boost/shared_ptr.hpp> statements
However, it did not delete the include<boost/serialization/shared_ptr.hpp> statements.
The header seems to support STL and requires separate investigation before being removed.

…<boost/shared_ptr.hpp>. DID NOT remove the include<boost/serialization/shared_ptr.hpp> yet
@y2s82 y2s82 changed the title [WIP] Got rid of boost::shared_ptr in favor of std::shared_ptr [WIP] Replaced Boost version of shared_ptr and weak_ptr to STL counterpart Nov 29, 2018
@y2s82
Copy link
Owner Author

y2s82 commented Nov 29, 2018

Currently, this build fails.
The problem is that the old version of boost (1.54) runs serialize method as a member method.
In the newer version of boost introduced support for using STL variants by making that method a helper function.

This conversion, therefore, requires an upgraded boost, which may break other things.

Old boost/serialization/access
Newer boost/serialization/access
Old boost/serialization/weak_ptr
New boost/serialization/weak_ptr

@y2s82 y2s82 changed the title [WIP] Replaced Boost version of shared_ptr and weak_ptr to STL counterpart [Impass] Replaced Boost version of shared_ptr and weak_ptr to STL counterpart Nov 29, 2018
@y2s82 y2s82 changed the title [Impass] Replaced Boost version of shared_ptr and weak_ptr to STL counterpart [Impasse] Replaced Boost version of shared_ptr and weak_ptr to STL counterpart Dec 7, 2018
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

Successfully merging this pull request may close these issues.

boost::shared_ptr
1 participant