Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on C++ Dev Ecosystem 2021. Parent comment
Concepts are pretty useless at the moment for error messages, but they're super easy and convenient when you need to disambiguate something like
void do_it(auto& x) { // x is a vector void do_it(auto& x) { // x is nlohmann::json
There are no comments on this comment yet.
Concepts are pretty useless at the moment for error messages, but they're super easy and convenient when you need to disambiguate something like
Just stick a 'requires' in there and it works.