Hi,
I have a question which is in some way, I guess, completely trivial: what's that (and why)?
const float *(*const*)(int)
My understanding is that it is a "pointer to a constant pointer to a function taking an int as argument and returning a pointer to constant float".
Is it correct ?
How to "mentally parse" (*const*)
? Especially as there is no name, at first I didn't know where to start. I think that the only possibility for a "name" would be to put it like that: *const *name
as other combination are invalid (if I am correct), so then "name is a pointer to a constant pointer ...".
Is this reasoning valid ?
Thanks !