Top-level const doesn't influence a function signature
问题 From the C++ Primer 5th Edition, it says: int f(int){ /* can write to parameter */} int f(const int){ /* cannot write to parameter */} The two functions are indistinguishable . But as you know, the two functions really differ in how they can update their parameters. Can someone explains to me? EDIT I think I didn\'t interpret my question well. What I really care is why C++ doesn\'t allow these two functions simultaneously as different function since they are really different as to \"whether