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