Overloaded Classes
Anyone ever though of this? If you think it''s a stupid idea, go ahead and tell me, cause my brain isn''t working completely right now.
(Heck, I''m a teenager, my brain is always malfunctioning!!!)
- DarkMage139
"Real game developers don't change the rules. Real game developers don't break the rules. Real game developers make the rules!"
"Originality (in games) is the spice of life!"
- DarkMage139
Overloaded how? And to what end?
Traditional function (and operator) overloading allows us to perform similar operations on different data types, or modify how the operations are performed. To do the former we have templates, and for the latter we have inheritance and virtual members.
What did you have in mind? I''d like to hear what sparked this particular train of thought
Morbo
Traditional function (and operator) overloading allows us to perform similar operations on different data types, or modify how the operations are performed. To do the former we have templates, and for the latter we have inheritance and virtual members.
What did you have in mind? I''d like to hear what sparked this particular train of thought
Morbo
How the idea came was kind of strange in itself. I was reading over my C++ books, and then came across the Overloaded Functions section. Somehow, I began to wonder why nobody made overloaded classes.
Like I said, I''m not sure if my brain is working completely. It was just a thought.
- DarkMage139
"Real game developers don't change the rules. Real game developers don't break the rules. Real game developers make the rules!"
"Originality (in games) is the spice of life!"
Like I said, I''m not sure if my brain is working completely. It was just a thought.
- DarkMage139
"Real game developers don't change the rules. Real game developers don't break the rules. Real game developers make the rules!"
"Originality (in games) is the spice of life!"
- DarkMage139
June 10, 2000 02:45 AM
I suggest you get a beer and reread that book - overloaded classes what will they think up next - there are no such things
Heheh they actually already exist in a certain form, in the ANSI standard.
Look up templates/specialisation and partial specialisation... it does exactly what you want it to do, but not in Visual C++ ( bad ANSI implementation. )
Works perfectly in Borland.
#pragma DWIM // Do What I Mean!
~ (V)/\|) |<é!t|-| ~
Look up templates/specialisation and partial specialisation... it does exactly what you want it to do, but not in Visual C++ ( bad ANSI implementation. )
Works perfectly in Borland.
#pragma DWIM // Do What I Mean!
~ (V)/\|) |<é!t|-| ~
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
quote:
What did you have in mind? I''d like to hear what sparked this particular train of thought
Morbo
If I had to guess it would be lots of the funny green leaf, teenagers these days...
Mike
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement