logoalt Hacker News

madducitoday at 5:28 AM1 replyview on HN

Then why isn't part of the stdlib? Why should everybody maintain their own version?


Replies

spacechild1today at 10:57 AM

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.