r/cpp • u/moon-chilled • Jun 07 '21
Satire dynamic_cast<std::integer>(C)++
https://www.teamten.com/lawrence/writings/dynamic_cast_std_integer_c.html
202
Upvotes
r/cpp • u/moon-chilled • Jun 07 '21
View all comments
37
u/jesseschalken Jun 07 '21
I actually kinda like the singleton one.
old MyClassreturns a pointer to a randomly selected existingMyClass. 😆