Repository navigation
Refactor argument handling around SegmentedStringView - #47
Merged
Merged
Conversation
…ier to refactor to the new SegmentedStringView type.
…smaller fixes found along the way as well.
…ngView integration
…ctors and improve integration with SegmentedStringView. Should be drop-in-compatible with std::span.
…alType for improved clarity and consistency in argument handling
…lement recombine methods directly for improved clarity and performance
…cks in recombineSubspan calls; if args is empty, the result is guaranteed to be an empty string anyways.
…streamline method signatures and improve clarity; unify size and segmentCount methods, and enhance copy functionality.
…wcall arguments; improve argument handling and clarity.
…mproving argument handling and consistency with existing parsing functionality.
…, replacing string_view with Utility::Args::SSV for improved argument handling and consistency.
…and size directly
…structors to accept vector of string_view, enhancing argument handling and consistency.
…ssary ScopedKey initialization
…riables and add startsWith method
… retrieval in SegmentedStringView for safety
…ments and add a TODO for returning the last given value
…ther temporary string_view
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
SegmentedStringViewwith:size,at,front, andbackaccessors.StringHandler.OptionalFixedString.SegmentedStringView.getNamedSpannedArgument.OptionalFixedStringconstexpr support and addstartsWith.std::numeric_limits<T>::epsilon(). (Bug was found while refactoring)Testing