ThePhD

Living disaster, ready to strike!

✨ Somehow Is A C Expert ✨ Smooches Unicode-kun 💕 Pixel Art is Cool 🎨 Banner by Bugurri and Avatar by KIING KIISMET

You must log in to comment.

in reply to @ThePhD's post:

how far can you go with this? would it be possible to write R (*)(A1, A2) function_pointer; instead of R (*function_pointer)(A1, A2) too? or R (*) (A1, A2) (*) (R (*) (A1, A2)) function_pointer_returning_function_pointer?

yeah i haven't thought through all the potential ambiguities, but it'd be nice for complex type specifications in general if you could write typeof(T) foo; as T foo; (using typeof in the "parens for type declarators" way)