Comment on Golang be like
Rednax@lemmy.world 1 year ago
I hate this in C++ when it does this with parameters of an overidden function. I don’t need that specific parameter, but if I omit the variable name, I reduce readability.
Comment on Golang be like
Rednax@lemmy.world 1 year ago
I hate this in C++ when it does this with parameters of an overidden function. I don’t need that specific parameter, but if I omit the variable name, I reduce readability.
Dienes@lemmy.world 1 year ago
[[maybe_unused]]
Rednax@lemmy.world 1 year ago
Which is have been able to use since we switched to C++17 … a couple of months ago.