Skip to content
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

BufferSlicer::take<count>() & BufferStuffer::next<bytes>() #3856

Merged

Conversation

reneme
Copy link
Collaborator

@reneme reneme commented Dec 22, 2023

Those return std::span<> with a statically known extent. The new range-based memory operators and endian-loaders can use those to statically check for matching buffer sizes. See also: #3707 (comment).

Those return std::span<> with a statically known extent. The new range-
based memory operators and endian-loaders can use those to statically
check for matching buffer sizes.
@reneme reneme self-assigned this Dec 22, 2023
@coveralls
Copy link

Coverage Status

coverage: 92.065% (+0.02%) from 92.05%
when pulling 0a5882f on Rohde-Schwarz:reneme/constexpr_buffer_utils
into 36c2e9e on randombit:master.

@randombit
Copy link
Owner

LGTM

@reneme reneme merged commit ceace35 into randombit:master Jan 2, 2024
39 checks passed
@reneme reneme deleted the reneme/constexpr_buffer_utils branch January 2, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants