Page 1 of 1

Are these very Relevant/Used?

Posted: Tue Feb 03, 2009 8:25 pm
by XianForce
Well as I was continuing my quest unto C++ learning, I found a few things in a section that I've heard aren't used much at all in Game Dev...I've sort of skimmed these sections, but I'd like to make sure that these aren't too important:


Virtual Functions
Operator Overloading
Multiply Inherited Objects



So do you guys use those at all? Out of those three, I know most about the virtual functions. The operator overloading seems just like writing your own function...and I can't really see much use with Multiply inherited objects.

Re: Are these very Relevant/Used?

Posted: Tue Feb 03, 2009 9:22 pm
by MarauderIIC
I've used all of these to great effect at some point.

Re: Are these very Relevant/Used?

Posted: Tue Feb 03, 2009 9:27 pm
by LuciDreamTheater
Those are definitely used, but I've never had the need for these:

- Union
- Mutable
- Volatile

Re: Are these very Relevant/Used?

Posted: Tue Feb 03, 2009 9:31 pm
by MarauderIIC
Ditto

Re: Are these very Relevant/Used?

Posted: Tue Feb 03, 2009 10:43 pm
by Falco Girgis
Ditto with the two of you.

But I don't use the first ones much. They aren't common in the ES Engine. Virtual anything has overhead.

Re: Are these very Relevant/Used?

Posted: Tue Feb 03, 2009 11:24 pm
by XianForce
Alright, thanks guys, Happy Coding =D

Re: Are these very Relevant/Used?

Posted: Wed Feb 04, 2009 11:52 am
by M_D_K
anothrguitarist wrote:Those are definitely used, but I've never had the need for these:

- Union
- Mutable
- Volatile
I've used union.