2 ms·
I'm getting the impression you don't know C++ that well. A "member" function or "method" in C++ is just a function that has access to other members of its clas
by loewenskind 16y ago
I'm getting the impression you don't know C++ that well. A "member" function or "method" in C++ is just a function that has access to other members of its class. If you don't add the virtual keyword there doesn't have to be any difference between it and a normal function (besides the mentioned scoping rules) and it could even be inlined. Overloaded operators aren't any faster than functions.