Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stefan_
11 days ago
|
parent
|
context
|
favorite
| on:
The C++ standard for the F-35 Fighter Jet [video]
I'm sure thats disallowed for the C-style cast.
cpgxiii
11 days ago
|
next
[–]
Fwiw, unused-cast-to-void is a case that GCC and Clang ignore when using -Wno-old-style-cast, which is what most projects prohibiting C-style casts are going to be using (or whatever the equivalent their compiler provides).
reply
daringrain32781
11 days ago
|
prev
[–]
C++17 has the [[maybe_unused]] attribute.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: