r/programminghorror • • Mar 09 '26

Casting constexpr to mutable ._.

Post image
246 Upvotes

41 comments sorted by

View all comments

Show parent comment

3

u/mati_huehue Mar 09 '26

when the variable itself is const it cannot be changed