Migrate to capy post-#262 buffer API#250
Merged
mvandeberg merged 1 commit intoMay 15, 2026
Merged
Conversation
cppalliance/capy#262 removes the `const_buffer_pair` / `mutable_buffer_pair` aliases and demotes `buffer_array<N, IsConst>` from `capy::` to `capy::detail::`. corosio migrates: - `test/unit/buffer_param.cpp`: replace `capy::const_buffer_pair` / `capy::mutable_buffer_pair` with `std::array<capy::const_buffer, 2>` / `std::array<capy::mutable_buffer, 2>`. Drop the `buffers/buffer_pair.hpp` include. - tls_stream.hpp / wolfssl_stream.{hpp,cpp} / openssl_stream.{hpp,cpp}: replace `capy::mutable_buffer_array<N>` / `capy::const_buffer_array<N>` with `capy::detail::mutable_buffer_array<N>` / `capy::detail::const_buffer_array<N>` and update include paths to `boost/capy/detail/buffer_array.hpp`. corosio's TLS stream interface acknowledges that this scatter/gather fixed-capacity helper is now capy-internal; using `detail::` from corosio is the explicit choice made when buffer_array became internal machinery. Coordinated with capy PR cppalliance/capy#262.
|
An automated preview of the documentation is available at https://250.corosio.prtest3.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-05-15 21:03:17 UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #250 +/- ##
===========================================
- Coverage 77.71% 77.70% -0.02%
===========================================
Files 96 96
Lines 7296 7292 -4
Branches 1787 1787
===========================================
- Hits 5670 5666 -4
Misses 1108 1108
Partials 518 518
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
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.
cppalliance/capy#262 removes the
const_buffer_pair/mutable_buffer_pairaliases and demotesbuffer_array<N, IsConst>fromcapy::tocapy::detail::. corosio migrates:test/unit/buffer_param.cpp: replacecapy::const_buffer_pair/capy::mutable_buffer_pairwithstd::array<capy::const_buffer, 2>/std::array<capy::mutable_buffer, 2>. Drop thebuffers/buffer_pair.hppinclude.tls_stream.hpp / wolfssl_stream.{hpp,cpp} / openssl_stream.{hpp,cpp}: replace
capy::mutable_buffer_array<N>/capy::const_buffer_array<N>withcapy::detail::mutable_buffer_array<N>/capy::detail::const_buffer_array<N>and update include paths toboost/capy/detail/buffer_array.hpp. corosio's TLS stream interface acknowledges that this scatter/gather fixed-capacity helper is now capy-internal; usingdetail::from corosio is the explicit choice made when buffer_array became internal machinery.Coordinated with capy PR cppalliance/capy#262.