why here the const is droped? can you explain it more specific here?
this is a feature of C and C++ to cater for old code.
This is the part of the agreement the compiler has to follow or to allow. If it makes you happy, think of it as a feature which the standard mandates.