Re:Zig cc: A drop-in replacement for GCC/Clang
by dnautics on Tuesday March 24, 2020 @10:02PM
(#22681327)
The fact that it's wrong if you try to generalize it beyond the examples given?
[ Parent
| on HN ]
Re:Zig cc: A drop-in replacement for GCC/Clang
by saagarjha on Tuesday March 24, 2020 @11:53PM
(#22681807)
Does it? Here's one that I grabbed from cdecl.org:
char * const (*(* const bar)[5])(int )
And its translation: declare bar as const pointer to array 5 of pointer to function (int) returning const pointer to char
This seems like what I'd get from the spiral technique.