Sunday, October 24, 2010

Const

To the compiler, 'int func(int)' and 'int func(const int)' have the same signature.

Reference: Exceptional C++ by Herb Sutter. Addison-Wesley, 1999, p. 178.

No comments:

Post a Comment