1Constructing Foo(1) "static_foo"
2Constructing Foo(2) "static_foo"
3Constructing Foo(3) "automatic_foo"
4Constructing Foo(4) "default-foo"
5Initializing Foo(5) "default-foo" with Foo(4)
6Destructing Foo(4) "default-foo" (remaining foos: 4)
7Constructing Foo(5) "other_foo1"
8Constructing Foo(6) "other_foo2"
9Copying Foo(5) "other_foo1" to Foo(6)
10Destructing Foo(6) "other_foo1" (remaining foos: 5)
11Destructing Foo(5) "other_foo1" (remaining foos: 4)
12Destructing Foo(5) "default-foo" (remaining foos: 3)
13Destructing Foo(3) "automatic_foo" (remaining foos: 2)
14Destructing Foo(2) "static_foo" (remaining foos: 1)
15Destructing Foo(1) "static_foo" (remaining foos: 0)
16