委派建构函式的第二个参数接受任何类别的成员函式或静态成员函式的位址。
The second parameter of the delegate's constructor takes either the address of a member function or the address of a static member function of any class.
静态成员会在第一次受到存取前,以及静态建构函式(如果有)受到呼叫之前进行初始化。
Static members are initialized before the static member is accessed for the first time and before the static constructor, if there is one, is called.
这些资料结构不包含建构函式、复制指派运算子,或本身不是PODS的非静态资料成员。
They do not contain constructors, copy assignment operators, destructors, or non-static data members that are not themselves PODS.
在建立第一个执行个体或参考任何静态成员之前,就会自动呼叫静态建构函式以初始化类别。
A static constructor is called automatically to initialize the class before the first instance is created or any static members are referenced.
在建立第一个执行个体或参考任何静态成员之前,会自动呼叫静态建构函式。
It is called automatically before the first instance is created or any static members are referenced.
或是,非静态的成员函式被当做静态函式从类别外呼叫。
Or, a nonstatic member function was called from outside the class as a static function.
或是,非静态的成员函式被当做静态函式从类别外呼叫。
Or, a nonstatic member function was called from outside the class as a static function.
应用推荐