C++

Where to Put [[nodiscard]]: A Silent Trap with MSVC! -- Giovanni Dicanio

Giovanni Dicanio describes a subtle bug involving the C++ [[nodiscard]] attribute and Microsoft's MSVC compiler, where placing the attribute in the wrong position can silently fail to provide the expected protection. He warns that this kind of false sense of security is among the worst things that can happen in software.

AI-written summary, checked against the cited sources. How summaries work

Read at isocpp.org