How do I use an initialization list with a base class?
我如何使用初始化列表的基类?
Scroll down the right column of the Portlets page to show the Initialization list.
在portlet页面上向下滚动,显示Initialization列表。
A property cannot be initialized, for example, in a constructor's initialization list.
例如,属性无法在建构函式的初始化清单中初始化。
Using the From keyword, each item in the initialization list is added to newly created object.
通过使用From关键字,初始化列表中的每个条目都会被加到新创建的对象中。
A managed class cannot have a static constructor that also has a member initialization list.
托管类中不能有本身有成员初始化列表的静态构造函数。
C + + reference cannot be assigned, therefore, it must be initialized in the initialization list.
你应该初始化引用成员在成员初始化列表。
When an array is in a constructor's member initialization list, the elements of the array will be default initialized.
当阵列在建构函式的成员初始设定清单中时,阵列元素将预设为初始化。
The initialization method includes that: the initialization list is read and loaded into a buffer memory under electrified state;
本发明的实施例提供的方法包括:上电时将初始化列表读入缓冲内存;
The catch clause can handle exceptions thrown either from within the member initialization list or from within the constructor body.
catch子句既可以处理从成员初始化列表中抛出的异常,也可以处理从构造函数函数体中抛出的异常。
Is there any way to make the implicit copy constructor use initialization lists? Is there any other way around manually writing the initialization list?
有什么方法可以利用隐式的拷贝构造函数初始化列表吗?有没有其他方式手动编写初始化列表吗?
This is commonly done with the LIST_HEAD macro, which provides the declaration and initialization of the list.
这通常通过list_head宏来完成,这个宏提供列表的声明和初始化。
In the demo code, a list of cities beginning with a and J is created on initialization.
在demo代码中,在初始化时首先创建一个以A和J开头的城市的列表。
With the call to start_kernel, a long list of initialization functions are called to set up interrupts, perform further memory configuration, and load the initial RAM disk.
通过调用start_kernel,会调用一系列初始化函数来设置中断,执行进一步的内存配置,并加载初始ram磁盘。
There is no constructor with a parameter list that matches the initialization.
没有所带参数列表与初始化匹配的构造函数。
There is no constructor with a parameter list that matches the initialization.
没有所带参数列表与初始化匹配的构造函数。
应用推荐