Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
[[nodiscard]]非 C++17 コードベースの属性のセマンティクスが必要です。C++17より前にこれを達成するコンパイラ依存の方法があると思います。誰かこれらを知っていますか?私は、clang、gcc、および MSVC 用のものに興味があります。
[[nodiscard]]