What does following line mean?
bool(*)(const GA_Attribute *, void *) approve = NULL;
where GA_Attribute
is custom class.
This line is passed to a function, so I can understand that if user doesn't pass anything then it defaults to NULL
.
I do understand type conversion but I have no idea what bool(*)
and (const GA_Attribute *, void *)
are doing here?
EDIT:
Please see the function declaration here
EDIT 02:
Title is changed from: Pointer explicit type conversion and initialisation in C++
Initially it looked like type conversion to me. Now I understand that it's just Doxygen formatting issue.