Skip to content

Conversation

@kammce
Copy link
Member

@kammce kammce commented Nov 19, 2025

This commit includes a variety of fixes and improvements to the strong_ptr library:

  • Migrate free functions (add_ref, release, add_weak, release_weak) into ref_info object API.
  • Remove detail namespace for improved code clarity
  • Split monolithic test suite into focused files
    • enable_from_this.test.cpp,
    • mixins.test.cpp
    • optional_ptr.test.cpp
    • weak_ptr.test.cpp
  • Add shared unit_test.cppm module for test utilities
  • Update CMake to 3.30 with compiler warnings and address sanitizer for tests
  • Update conanfile description and boost-ext-ut version
  • Update code comments for clarity
  • Refactor enable_strong_from_this to work with rc rather than weak_ptr, eliminating the need for the weak_ptr exception, allowing it to be deleted.
  • Fixed various edge cases in pointer handling and ownership semantics

This commit includes a variety of fixes and improvements to the
strong_ptr library:

- Migrate free functions (add_ref, release, add_weak, release_weak) into
  ref_info object API.
- Remove detail namespace for improved code clarity
- Split monolithic test suite into focused files
  - enable_from_this.test.cpp,
  - mixins.test.cpp
  - optional_ptr.test.cpp
  - weak_ptr.test.cpp
- Add shared unit_test.cppm module for test utilities
- Update CMake to 3.30 with compiler warnings and address sanitizer for
  tests
- Update conanfile description and boost-ext-ut version
- Update code comments for clarity
- Refactor enable_strong_from_this to work with rc<T> rather than
  weak_ptr, eliminating the need for the weak_ptr exception, allowing it
  to be deleted.
- Fixed various edge cases in pointer handling and ownership semantics
@kammce kammce merged commit 9ee47eb into main Nov 19, 2025
@kammce kammce deleted the cleanup-fixups branch November 19, 2025 14:37
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.

2 participants