Skip to content

Conversation

eyalroz
Copy link

@eyalroz eyalroz commented Feb 12, 2022

A naive implementation of a constexpr alternative to std::search() for pairs of basic_string_views, using the basic_string_view::starts_with() method.

Note: Have not implemented this for rfind(); it would make sense to do both. Have also not touched the copyright notice.

…for pairs of `basic_string_view`s, using the `basic_string_view::starts_with()` method.
@eyalroz
Copy link
Author

eyalroz commented Feb 12, 2022

@martinmoene Oh, btw, I also replaced a gratuitous tab with a space.

martinmoene added a commit that referenced this pull request Feb 13, 2022
commit d934b1ac5b8c4ad30222d5fa89d610f74e1b005a
Author: Eyal Rozenberg <eyalroz1@gmx.com>
Date:   Sat Feb 12 21:10:58 2022 +0200

Naive implementation of a `constexpr` alternative to `std::search()` for pairs of `basic_string_view`s, using the `basic_string_view::starts_with()` method.
@eyalroz
Copy link
Author

eyalroz commented Aug 9, 2022

So, if this is no longer relevant - shall we close ?

@martinmoene
Copy link
Owner

Yes, indeed, thanks

@martinmoene martinmoene closed this Aug 9, 2022
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.

2 participants