Y
Hacker News
new
|
ask
|
show
|
jobs
by
kllrnohj
722 days ago
That'll inevitably be a utility function that exists, but C++ generally prefers broadly useful language primitives over single-case helpers
1 comments
DrBazza
722 days ago
Unfortunately. std::string `contains` arrived in C++23
link
kllrnohj
722 days ago
That's a stdlib utility, not a language feature :)
link