-
Notifications
You must be signed in to change notification settings - Fork 3k
Add std::span implementation for cxxsupport #13881
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 all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2f0bfd6
Adds basic span implementation
c38df18
Fix endif comment
11573a9
Add iter_reference_t to iterator header
e93ebc4
Correct span constructors
4097b9d
Add container constructor and make_span
c89c458
Prevent warning on subspan<0,N>
1931f4e
Fix namespaces and span prototype
a5b66cf
Remove c++17 inline of constexpr
5231bec
Fix remaining namespaces and add include files
07da1a7
Remove explicit constructors
e18ce02
Update default initializers
405baeb
Fix newline at end of file
6389bcb
Fix pointer and reference operator style
1dac20c
Missed a pointer operator
e0299bd
Use original <span> if present and the right version
96954d3
Replace classes with structs where applicable
69331b0
Fix minor style issues
2e1b360
Remove nonstandard as_bytes
f7e19b5
Add deduction guides
78f2cfc
Add some comment blocks
8f94feb
Add to list of backports
d5459ea
Fix missing defintion
a826c89
Backport dynamic extent when including <span>
8551e93
Fix last extra space issues
a8ea775
Fix make_span text in comment block
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
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.