feat: specialize enable_borrowed_range for view types#966
feat: specialize enable_borrowed_range for view types#966alandefreitas merged 1 commit intoboostorg:developfrom
Conversation
|
An automated preview of the documentation is available at https://966.url.prtest2.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-01-23 23:04:58 UTC |
|
GCOVR code coverage report https://966.url.prtest2.cppalliance.org/gcovr/index.html Build time: 2026-01-23 23:15:14 UTC |
All view types in Boost.URL have iterators that store raw pointers to external data rather than references to the view object itself. This means iterators remain valid even after the view is destroyed, satisfying the borrowed_range requirements. Specializations added for: - decode_view, pct_string_view - params_view, params_ref, params_encoded_view, params_encoded_ref - segments_view, segments_ref, segments_encoded_view, segments_encoded_ref fix boostorg#927
eb2aa46 to
e7325b2
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #966 +/- ##
========================================
Coverage 99.35% 99.35%
========================================
Files 161 161
Lines 8771 8771
========================================
Hits 8714 8714
Misses 57 57
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
All view types in Boost.URL have iterators that store raw pointers to external data rather than references to the view object itself. This means iterators remain valid even after the view is destroyed.
fix #927