News for hackers. Stuff that matters.
Re:C++ Dev Ecosystem 2021 by otabdeveloper4 on Tuesday July 20, 2021 @06:23AM (#27891974)
No, it's the other way around.

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
Just stick a 'requires' in there and it works.

There are no comments on this comment yet.