SpiceQA
Questions
Tags
Users
Badges
nodiscard
15 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Does GCC 7.3 omit the [[nodiscard]] attribute for reference returning member functions?
user_10400598
0
•
asked Mar 30, 2022
2
1
46
nodiscard
c++17
g++
gcc
c++
Why not apply [[nodiscard]] to every constructor?
user_2945027
0
•
asked Sep 19, 2021
4
1
367
nodiscard
c++20
c++
Is [[nodiscard]] any different from [[gnu::warn_unused_result]]?
user_6872717
0
•
asked Jul 20, 2021
2
0
237
c23
nodiscard
unused-variables
gcc
c
warning C5240: 'nodiscard': attribute is ignored in this syntactic position
user_7325599
0
•
asked May 12, 2021
10
1
908
nodiscard
visual-studio-2019
warnings
c++
Why clang-tidy suggests to add [[nodiscard]] everywhere?
user_12075997
0
•
asked Apr 12, 2021
14
2
4144
nodiscard
clang-tidy
clang
c++
Exclude a function's return value from [[nodiscard]]
user_521525
0
•
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_2129218
0
•
asked Nov 10, 2020
2
2
153
nodiscard
c++17
compiler-warnings
c++
[[nodiscard]] in std::function return type definition?
user_5292522
0
•
asked Sep 18, 2020
8
2
349
nodiscard
c++17
std
c++
Is nodiscard necessary on operators?
user_14001678
0
•
asked Aug 1, 2020
5
3
1681
nodiscard
c++17
c++
Clang enforce [[nodiscard]] by default?
user_997112
0
•
asked May 27, 2020
5
0
449
nodiscard
clang
c++
1
(current)
2
Next
Next
Hot Questions