feat: add returning overload to tcp_acceptor::accept()#274
Conversation
Add accept() with no arguments returning io_result<tcp_socket>, so the
acceptor constructs the peer socket itself instead of requiring the caller
to pass one in:
auto [ec, peer] = co_await acc.accept();
|
An automated preview of the documentation is available at https://274.corosio.prtest3.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-06-11 17:02:30 UTC |
|
GCOVR code coverage report https://274.corosio.prtest3.cppalliance.org/gcovr/index.html Build time: 2026-06-11 17:16:59 UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #274 +/- ##
========================================
Coverage 77.73% 77.73%
========================================
Files 96 96
Lines 7234 7234
Branches 1764 1764
========================================
Hits 5623 5623
Misses 1102 1102
Partials 509 509
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Add accept() with no arguments returning io_result<tcp_socket>, so the acceptor constructs the peer socket itself instead of requiring the caller to pass one in:
Closes #227