Hacker News new | ask | show | jobs
by madduci 39 days ago
Then why isn't part of the stdlib? Why should everybody maintain their own version?
1 comments

Just wait for C++32 :-D. After all, we only got `std::string::starts_with` in C++20 and C++23 finally gave us `std::string::contains`. It's a clown show, you just need to take it with humor.
For comparison, in Java they do much more significant changes each release