Replace boost::shared_ptr with std::shared_ptr#209
Merged
timosachsenberg merged 3 commits intostd-shared-ptrfrom Nov 28, 2025
Merged
Replace boost::shared_ptr with std::shared_ptr#209timosachsenberg merged 3 commits intostd-shared-ptrfrom
timosachsenberg merged 3 commits intostd-shared-ptrfrom
Conversation
Merged
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com>
Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove boost smart pointer and use std shared pointer
Replace boost::shared_ptr with std::shared_ptr
Nov 28, 2025
timosachsenberg
added a commit
that referenced
this pull request
Nov 28, 2025
* update install instructions * Update TODO for current roadmap * Migrate to Cython 3 only * Remove workflow file changes * Drop Boost smart_ptr and use std::shared_ptr * Remove legacy shared_ptr and include_boost API parameters Now that autowrap uses std::shared_ptr exclusively: - Remove shared_ptr parameter from CodeGenerator.__init__ and generate_code() - Remove include_boost parameter from generate_code(), parse_and_generate_code(), and Main.create_wrapper_code() - Simplify fixed_include_dirs() and get_include_dirs() to take no arguments - Remove include_shared_ptr attribute from CodeGenerator 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Replace boost::shared_ptr with std::shared_ptr (#209) * Initial plan * Replace boost/shared_ptr.hpp with memory header in test files Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com> * Replace boost::shared_ptr with std::shared_ptr Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com> * fix include --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes boost smart pointer dependency in favor of C++ standard library
std::shared_ptr.Changes
#include <boost/shared_ptr.hpp>with#include <memory>in test headers:tests/test_files/full_lib/A.hpptests/test_files/full_lib/B.hpptests/test_files/full_lib/C.hpptests/test_files/full_lib/D.hpptests/test_files/libcpp_stl_test.hpptests/test_files/libcpp_test.hppThe code was already using
std::shared_ptr—only the includes referenced the obsolete boost header.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.