Scroll down the right column of the Portlets page to show the Initialization list.
在portlet页面上向下滚动,显示Initialization列表。
How do I use an initialization list with a base class?
我如何使用初始化列表的基类?
A property cannot be initialized, for example, in a constructor's initialization list.
例如,属性无法在建构函式的初始化清单中初始化。
C + + reference cannot be assigned, therefore, it must be initialized in the initialization list.
你应该初始化引用成员在成员初始化列表。
C + + reference cannot be assigned, therefore, it must be initialized in the initialization list.
你应该初始化引用成员在成员初始化列表。
应用推荐