Skip to content

[C++] C++20: use starts_with/ends_with methods #48592

@pitrou

Description

@pitrou

Describe the enhancement requested

std::string and std::string_view have gained starts_with and ends_with methods that can allow some code simplification (and we can also remove our StartsWith / EndsWith helper functions).

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions