Implement P0448R4 spanstream - #2029
Conversation
Co-authored-by: Matt Stephanson <68978048+MattStephanson@users.noreply.github.com>
Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Stephan T. Lavavej (StephanTLavavej)
left a comment
There was a problem hiding this comment.
Partial review (to be available as a video recording in the near future), I looked at everything except stl/inc/spanstream and P0448R4_spanstream/test.cpp.
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
This comment has been minimized.
This comment has been minimized.
Stephan T. Lavavej (StephanTLavavej)
left a comment
There was a problem hiding this comment.
Video reviewed basic_spanbuf and the recent commits; basic_ispanstream and below, and the new test, remain. (This is a lot of code, thanks for working on it! 😻)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Also, this test can assume that concepts are available.
This comment has been minimized.
This comment has been minimized.
Stephan T. Lavavej (StephanTLavavej)
left a comment
There was a problem hiding this comment.
Thanks! I'll validate and push changes.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Charlie Barto <chbarto@microsoft.com>
|
Michael Schellenberger Costa (@miscco) I pushed changes to use variable templates in the test as Charlie Barto (@barcharcraz) suggested. It's slightly fewer lines of source code, and avoids emitting function calls (which isn't a big deal in test code, but can make stepping through a bit nicer). I also took this opportunity to rename |
|
I'm mirroring this to the MSVC-internal repo now. Please notify me if any further changes are pushed. |
|
Thanks for continuing to implement a stream of |
This implements spanstream that was recently voted into C++23
Fixes #1970