Tag Archives: OOP

This (->) is not only a matter of style.

Quote: Original post by Saruman Quote: Original post by caldiar What I’m doing wouldn’t happen to be using that hidden this pointer I keep reading about would it? That is exactly what you are doing by using this->function2() although you … Continue reading

Posted in C++ | Tagged , , , | 2 Comments

Virtual Functions Considered Not Harmful, Part II

For the lack of a profiler (and for the lack of time), I commited to the cardinal sin of making unproven statements in Virtual Functions Considered Not Harmful, Part I … Original post by dascandy call *%eax <snip> call __ZNK3Bar4fun2Eii … Continue reading

Posted in C++ | Tagged , , , , | Comments Off

Virtual Functions Considered Not Harmful, Part I

Every now and then, the use of virtual functions gets questioned when it comes to runtime performance. I did a bit of work to find the (halfway) truth … Recently on gamedev.net Original post by NotAYakk Note that implementing a … Continue reading

Posted in C++ | Tagged , , , , | 2 Comments