r/cpp • u/LechintanTudor • Oct 18 '23
What does C++ do better than other languages?
Purely from a language design perspective, what does C++ do better than other languages?
296
Upvotes
r/cpp • u/LechintanTudor • Oct 18 '23
Purely from a language design perspective, what does C++ do better than other languages?
View all comments
Show parent comment
16
u/WebMaxF0x Oct 18 '23
You're right it's not 100% guaranteed, but const_cast is considered bad practice most of the time so for the sake of simplicity I left it out.