Remix.run Logo
stefan_ a day ago

I'm sure thats disallowed for the C-style cast.

cpgxiii a day ago | parent | 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).

daringrain32781 a day ago | parent | prev [-]

C++17 has the [[maybe_unused]] attribute.