top | item 42507168

(no title)

Loranubi | 1 year ago

> Unlike requires requires and requires { requires }, which are perfectly reasonable C++ code, requires requires { requires } is completely silly.

Normal day in cpp land...

discuss

order

spopejoy|1 year ago

How on earth did C++ brainrot lead them to think that reusing that keyword was anything but a nightmare? The very first line of the article

> Probably the two most useful features added to C++20 are requires and requires

said without a trace of irony ... the whole thing reads like parody!

I keep hearing that C++20 or whatever is getting so great but if so why would they specify such a dumpster fire of syntax???