2015-08-29 21:45:55 -04:00
|
|
|
option1
|
2015-11-25 15:35:06 -05:00
|
|
|
no int
|
|
|
|
|
an int: 7
|
|
|
|
|
equality true works!
|
|
|
|
|
equality false works!
|
|
|
|
|
matched an int:11 correctly!
|
|
|
|
|
matched no int correctly!
|
|
|
|
|
matched no_obj correctly
|
|
|
|
|
assignment to old variable
|
|
|
|
|
gonna make object in function 100
|
|
|
|
|
constructed object 100 : 100
|
|
|
|
|
copy constructed object 100 : 200 from 100 : 100
|
|
|
|
|
destructed object 100 : 100
|
|
|
|
|
copy constructed object 100 : 300 from 100 : 200
|
|
|
|
|
copy constructed object 100 : 400 from 100 : 300
|
|
|
|
|
copy constructed object 100 : 500 from 100 : 400
|
|
|
|
|
destructed object 100 : 400
|
2016-06-20 01:52:28 -07:00
|
|
|
destructed object 100 : 300
|
|
|
|
|
copy constructed object 100 : 600 from 100 : 500
|
2015-11-25 15:35:06 -05:00
|
|
|
done assignment to old variable
|
2016-06-20 01:52:28 -07:00
|
|
|
matched an_obj correctly 100 : 600
|
2015-11-25 15:35:06 -05:00
|
|
|
int assignment to old var
|
2016-06-20 01:52:28 -07:00
|
|
|
destructed object 100 : 600
|
2015-11-25 15:35:06 -05:00
|
|
|
done int assignment to old var
|
|
|
|
|
matched an_int correctly 1337
|
|
|
|
|
test copy_construct for non ref equality
|
|
|
|
|
gonna make object in function 110
|
|
|
|
|
constructed object 110 : 110
|
|
|
|
|
copy constructed object 110 : 210 from 110 : 110
|
|
|
|
|
destructed object 110 : 110
|
|
|
|
|
copy constructed object 110 : 310 from 110 : 210
|
|
|
|
|
copy constructed object 110 : 410 from 110 : 310
|
2016-06-20 01:52:28 -07:00
|
|
|
copy constructed object 110 : 510 from 110 : 410
|
|
|
|
|
destructed object 110 : 410
|
2015-11-25 15:35:06 -05:00
|
|
|
destructed object 110 : 310
|
|
|
|
|
gonna make object in function 110
|
|
|
|
|
constructed object 110 : 110
|
|
|
|
|
copy constructed object 110 : 210 from 110 : 110
|
|
|
|
|
destructed object 110 : 110
|
|
|
|
|
copy constructed object 110 : 310 from 110 : 210
|
|
|
|
|
copy constructed object 110 : 410 from 110 : 310
|
|
|
|
|
copy constructed object 110 : 510 from 110 : 410
|
|
|
|
|
destructed object 110 : 410
|
2016-06-20 01:52:28 -07:00
|
|
|
destructed object 110 : 310
|
|
|
|
|
copy constructed object 110 : 610 from 110 : 510
|
|
|
|
|
destructed object 110 : 610
|
|
|
|
|
equality an_obj correctly
|
2015-11-25 15:35:06 -05:00
|
|
|
done test copy_construct for non ref equality
|
2016-06-20 01:52:28 -07:00
|
|
|
10
|
2016-06-26 04:44:54 -07:00
|
|
|
destructed object 110 : 510
|
|
|
|
|
destructed object 110 : 210
|
|
|
|
|
destructed object 110 : 510
|
|
|
|
|
destructed object 110 : 210
|
|
|
|
|
destructed object 100 : 500
|
|
|
|
|
destructed object 100 : 200
|