On Thursday, 28 July 2016 at 20:16:11 UTC, Jonathan M Davis wrote:
Well, if we decided to make parens with ref legal, then we could make it work. e.g.ref(int) function(int, int) functionPointer;Now, I don't know of any other case where you'd actually use parens with ref if it were legal, but it would solve this particular case if we wanted to provide a way around the ambiguity.
I had an idea of putting function attributes between return type and function name:
int ref function(int, int)