List Question
10 TechQA 2025-01-03 11:32:20Why clang-tidy suggests to add [[nodiscard]] everywhere?
11.9k views
Asked by Aditya Singh Rathore
[[nodiscard]] in std::function return type definition?
609 views
Asked by Alireza
warning C5240: 'nodiscard': attribute is ignored in this syntactic position
1.4k views
Asked by Fedor
Add nodiscard attribute to functions in third party header
443 views
Asked by Jon Chesterfield
python: prevent discarding of the function return value
375 views
Asked by salmin
Is nodiscard necessary on operators?
3.7k views
Asked by j__
Does GCC 7.3 omit the [[nodiscard]] attribute for reference returning member functions?
157 views
Asked by Caglayan DOKME
Exclude a function's return value from [[nodiscard]]
285 views
Asked by Haozhun
[[nodiscard]] attribute different compilation result for GCC and Clang
1.7k views
Asked by kiner_shah
Ways to specify [[nodiscard]] before C++17
2.9k views
Asked by gexicide