SpiceQA
Questions Tags Users Badges

nodiscard

15 Questions
Newest Active Unanswered Frequent
Score
View
Card Compact
Does GCC 7.3 omit the [[nodiscard]] attribute for reference returning member functions?
user_104005980
• asked Mar 30, 2022
2
1
46
nodiscard c++17 g++ gcc c++
Why not apply [[nodiscard]] to every constructor?
user_29450270
• asked Sep 19, 2021
4
1
367
nodiscard c++20 c++
Is [[nodiscard]] any different from [[gnu::warn_unused_result]]?
user_68727170
• asked Jul 20, 2021
2
0
237
c23 nodiscard unused-variables gcc c
warning C5240: 'nodiscard': attribute is ignored in this syntactic position
user_73255990
• asked May 12, 2021
10
1
908
nodiscard visual-studio-2019 warnings c++
Why clang-tidy suggests to add [[nodiscard]] everywhere?
user_120759970
• asked Apr 12, 2021
14
2
4144
nodiscard clang-tidy clang c++
Exclude a function's return value from [[nodiscard]]
user_5215250
• asked Jan 29, 2021
5
0
178
nodiscard c++17 c++
Is it right to use static_cast<void> to ignore iterator as return value?
user_21292180
• asked Nov 10, 2020
2
2
153
nodiscard c++17 compiler-warnings c++
[[nodiscard]] in std::function return type definition?
user_52925220
• asked Sep 18, 2020
8
2
349
nodiscard c++17 std c++
Is nodiscard necessary on operators?
user_140016780
• asked Aug 1, 2020
5
3
1681
nodiscard c++17 c++
Clang enforce [[nodiscard]] by default?
user_9971120
• asked May 27, 2020
5
0
449
nodiscard clang c++
  • 1 (current)
  • 2
  • NextNext
Hot Questions
Terms of service Privacy policy
Powered by Answer