Listing 29 Output from Listing 28

>>> operator new (20 bytes)
>>> arena created at 0x181e
>>> operator new (40 bytes)
>>> new arena created at 0x1836
>>> operator delete: 0x181e
0
1
2
3
4
5
6
7
8
9
10
>>> operator new (40 bytes)
>>> new arena created at 0x1862
Foo::Foo(const Foo&)
Foo::~Foo()
Foo::Foo(const Foo&)
Foo::~Foo()
Foo::Foo(const Foo&)
Foo::~Foo()
0
1
2
Foo::~Foo()
Foo::~Foo()
Foo::~Foo()
>>> operator delete: 0x1862
>>> operator delete: 0x1836