ENIGMA Development Environment
Home
About
Download
Wiki
Forums
EDC
Games
Tracker
Progress
Guest |
login
|
register
Commit to
enigma-dev
by
time-killer-games
: "
Add focus wait to Zenity/KDialog (#2198)"
(at 2021-03-28 22:54:56;
Click here to view
.)
ENIGMA Forums
>
General fluff
>
General ENIGMA
>
Unions vs Operator Overload, Wtf Josh?
Pages:
1
« previous
next »
Print
Author
Topic: Unions vs Operator Overload, Wtf Josh? (Read 2852 times)
Goombert
Posted on:
September 14, 2013, 11:18:05 pm
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993
http://www.cplusplus.com/doc/tutorial/other_data_types/#union
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
ssss
Reply #1 Posted on:
September 15, 2013, 04:31:02 am
Joined: Jun 2013
Posts: 24
What?
Logged
Goombert
Reply #2 Posted on:
September 17, 2013, 05:56:04 pm
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993
Using unions would eliminate casting.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
DaSpirit
Reply #3 Posted on:
September 17, 2013, 09:52:25 pm
Location: New York City
Joined: Mar 2013
Posts: 124
As far as I know, variants in ENIGMA already use unions. I was unaware that unions occupy the same physical space. I'm going to use them more often now.
Logged
Pages:
1
Print
« previous
next »
0