Hacker News new | ask | show | jobs
by bgtnhz 4169 days ago
Casting const away is never undefined. However modifying objects defined with const is. If the object was never defined with the const qualifier, then there is no problem with the casting.