Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
What you have done is like putting purple cellophane on water and saying "That's wine over there!"
-
@itamariuser You can also criticise that "water" is a pointer, while "wine" is not, so the cast wouldn't work anyway. π
Luckily this is not about correct syntax. π
Related Rants
//Proof that C++ is godly !
auto water = new Water();
auto wine = reinterpret_cast<Wine>(water);
//Ha ha
joke/meme
joke but will be useful πππ