Resize Test ----------------
0th class is created 0x7fff63076400
1th class is copied from 0x7fff63076400 to << 0x17a0a90
2th class is copied from 0x7fff63076400 to
<< 0x17a0a94
3th class is copied from 0x7fff63076400 to
<< 0x17a0a98
Destructor : 0x7fff63076400
4th class is created 0x7fff630763f0
5th class is copied from 0x17a0a90 to
<< 0x17a0ab0
6th class is copied from 0x17a0a94 to
<< 0x17a0ab4
7th class is copied from 0x17a0a98 to
<< 0x17a0ab8
8th class is copied from 0x7fff630763f0 to
<< 0x17a0abc
Destructor : 0x17a0a90
Destructor : 0x17a0a94
Destructor : 0x17a0a98
Size : 4 Capacity : 6
Reserve Test ----------------
9th class is copied from 0x7fff630763f0 to
<< 0x17a0a90
Size : 1 Capacity : 3
Destructor : 0x7fff630763f0
Destructor : 0x17a0a90
Destructor : 0x17a0ab0
Destructor : 0x17a0ab4
Destructor : 0x17a0ab8
Destructor : 0x17a0abc
'Programming > C & C++' 카테고리의 다른 글
gdb 에서 signal 무시하기 (0) | 2010.01.06 |
---|---|
gcc 4.3 포팅시 유의할 점 (1) | 2009.09.29 |
operator== issue in inheritance (0) | 2009.09.10 |
operator == in std::pair (0) | 2009.09.10 |
istream operator >> overriding into template class (0) | 2009.07.31 |
댓글