const char** xis translated into
declare x as pointer to pointer to const charThat is a very simple example, but it really comes into its own when given something nasty, like this:
char (*(*x())[5])()which is:
declare x as function returning pointer to array 5 of pointer to function returning charAnd you can go the other way too:
declare x as pointer to const pointer to intbecomes:
int * const *xWhich is all rather nice.
What is really useful is that it is available online at http://www.cdecl.org.
No comments:
Post a Comment