Closed jengelh closed 2 years ago
Try the following patch. (Remove the .txt
extension first, then use patch
.)
attribute works, but I like putting [[nodiscard]] in the right place better :-p
I misunderstood the issue. I thought it simply didn't understand __nodiscard__
. I merged your PR. Thanks.
Since it's been less than 24 hours, I'll cheat and just force-move the 12.0 tag.
The source at that location is
The culprit would appear to be:
Because this test snippet also wouldn't compile:
result
Compiler is