目录vector 概述接口总览默认成员函数构造函数析构函数拷贝构造函数复制赋值函数vector 的迭代器元素访问operator[]back容量相关函数sizecapacityemptyresizereserve修改函数insertpush_backerasepop_backswapvector
I have: class Foo; class Bar { Foo foo; Bar(): foo(foo) {}; } Bar bar; At this point, is bar.foo // <--- how is this initialized?