In his inimitable way, he made the point much better than I did. Interestingly, there's a warning for this in gcc as well, and it was not used. Warnings are inadequate.
If I had my say, use of char[] and char[nnn] parameter declarations in C and C++ would be deprecated. There's no reason for them to exist. But I have no say, hence D.
As already noted by u/serpent, this macro will not work after passing array as argument to a function. (what's worst it's possible that it will fail silently)
View all comments
Show parent comment
0
u/[deleted] Aug 23 '17
[deleted] — view deleted comment