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

Migrate from string view lite to std::string_view #495

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Mar 2, 2025

No description provided.

Ghabry added 2 commits March 2, 2025 19:37
This removes string_view lite as C++17 supports string views natively.

For convenience (and to make the replacement simpler) ToString helper function is kept.
Unfortunately C++17 has no starts/ends_with, helpers were added for this.
Fixes liblcf build when targetting C++20 or newer
@Ghabry Ghabry added the Building label Mar 2, 2025
@Ghabry Ghabry added this to the 0.8.1 milestone Mar 2, 2025
Ghabry added 2 commits March 10, 2025 14:22
Due to a different conversion API used (std::from_chars) conversion from hex strings is not supported anymore.
We do not use this feature so should be fine to remove it
Lack of support in clang and older gcc versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants