README
author koda
Sun, 19 Jun 2011 12:34:54 +0200
changeset 5257 0bbdd47522b9
parent 4274 8292066cb45c
child 5948 e389a60ae8ab
permissions -rw-r--r--
passing by reference... my darkest enemy actual reason below: In your case (without reference) the compiler generates a temporary object (int) for the first argument of your MyApplication constructor. You pass this temporary int to QApplication’s constructor (with int reference), which saves the address of this reference. Once your MyApplication constructor is done the temporary int is destroyed but QApplication still has its address.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1066
1f1b3686a2b0 Update copyright headers a bit
unc0rr
parents: 1006
diff changeset
     1
Hedgewars - a turn based strategy game.
750
7f8897e05df4 Update README
unc0rr
parents: 493
diff changeset
     2
Distributed under the terms of the GNU GPL licence.
7f8897e05df4 Update README
unc0rr
parents: 493
diff changeset
     3
Images and sounds are distributed under the terms of the GNU FDL licence.
456
35080d4b806b Follow standarts
unc0rr
parents: 259
diff changeset
     4
750
7f8897e05df4 Update README
unc0rr
parents: 493
diff changeset
     5
Source:
4274
8292066cb45c Some fixes
unc0rr
parents: 4201
diff changeset
     6
Copyright 2004-2010 Andrey Korotaev <unC0Rr@gmail.com>
8292066cb45c Some fixes
unc0rr
parents: 4201
diff changeset
     7
Portions copyright 2006-2008 Igor Ulyanov aka Displacer <iulyanov@gmail.com>