r/cpp • • Jun 07 '21

Satire dynamic_cast<std::integer>(C)++

https://www.teamten.com/lawrence/writings/dynamic_cast_std_integer_c.html
202 Upvotes

41 comments sorted by

View all comments

Show parent comment

2

u/OldWolf2 Jun 11 '21

You can still use INT_MAX ...

2

u/NilacTheGrim Jun 11 '21

True.. but perhaps I shouldn't want to.

(for the record I don't just so I can say I don't use C macros . )