-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement P0448R4 spanstream #2029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e94ce25
Implement spanstream
miscco 3d12c64
Move aliases into iosfwd
miscco e9dee40
Address review comments
miscco 40edba9
Add iosfwd test in sync with C++23
miscco e59ac94
Address review comments
miscco 95643a5
More review comments
miscco 5b413fb
Merge branch 'main' into spanstream
miscco ff35037
Address review comments
miscco 1537a09
Merge branch 'main' into spanstream
miscco ef50108
uNstreampos is defined in xstring
miscco 822de91
Merge branch 'main' into spanstream
miscco 3ed6a02
Address review comments
miscco c61afd8
Add tests for const buffer
miscco 2587e4c
Merge branch 'main' into spanstream
StephanTLavavej b1650ea
Work around DevCom-1511903.
StephanTLavavej 92ec9c3
Merge branch 'main' into spanstream
StephanTLavavej 76c7c7b
Add comment about `_STD span`.
StephanTLavavej e7b10b2
Private typedefs.
StephanTLavavej d03004d
Call member swap().
StephanTLavavej 8b309e3
Mark rdbuf() and span() as _NODISCARD.
StephanTLavavej d57fc0a
Always qualify _STD span.
StephanTLavavej d0ec9af
Assignment needs to `return *this;`.
StephanTLavavej a2a4923
Comment nitpick: "member functions".
StephanTLavavej 3134d3f
Drop `this->` for `rdbuf()`.
StephanTLavavej 862f03d
`basic_ospanstream` and `basic_spanstream` need to return `span<_Elem>`.
StephanTLavavej 8cad51f
Include more headers in the test.
StephanTLavavej 31bca31
Fix comment typo.
StephanTLavavej 5257648
Avoid test_buf shadowing.
StephanTLavavej 1b5d100
Rename basic_ospanstream to os.
StephanTLavavej 5116294
`test_spanstream()` should use `basic_spanstream` named `s`.
StephanTLavavej 205178e
Fix test: `basic_spanstream` can't be constructed from `span<const Ch…
StephanTLavavej d40f1ee
Comment: `_Baseoff` is always non-negative.
StephanTLavavej 34e426c
Add test that the returned `span` is indeed mutable
miscco 7130829
Delete the (unintentionally re-added) vcpkg submodule.
StephanTLavavej f57ff9f
Use variable templates in the test.
StephanTLavavej File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,7 @@ | |
"shared_mutex", | ||
"source_location", | ||
"span", | ||
"spanstream", | ||
"sstream", | ||
"stack", | ||
"stdexcept", | ||
|
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.