3 ms·
Why do you need to know the exact type? Why does it matter so much for C++ but not for other languages? I mean there are templates in C++ and a lot of code even
by fafner 12y ago
Why do you need to know the exact type? Why does it matter so much for C++ but not for other languages? I mean there are templates in C++ and a lot of code even in C++98 was written not knowing the exact type and just assuming or expecting certain properties/methods to work.
- EliRivers 12y agoWhy do you need to know the exact type? Okay, YOU tell me what class functions that variable "x" has. Code isn't written just for the compiler to read.