C/C++: `const` position in function's argument list -


void func1 (const int *); void func2 (int const *); void func3 (int * const); 

which 2 signatures equivalent? if none of them are, can please explain subtle differences?

the first 2 equivalent (the int const), in third it's pointer that's const (i.e. parameter itself).


Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c++ - CryptStringToBinary API behavior -