Y
Hacker News
new
|
ask
|
show
|
jobs
by
Sankozi
1471 days ago
const in C++ is more like Readonly from TypeScript - you cannot modify state of an object, but it still might be possible through other reference/pointer - you have to check source of that value to be sure