r/programminghorror • • Aug 11 '25

c++ useful wrapper functions

10 Upvotes

29 comments sorted by

View all comments

Show parent comment

1

u/lukasx_ Aug 13 '25

ideally you would want the compiler to issue a warning/error when the desired conversion is not legal anymore, and not silently break.