类成员函数
- 与 类成员函数 相关的网络例句 [注:此内容来源于网络,仅供参考]
-
Because class definition is a function, it's first paramater is the accessor of protected memners.
因为类定义是一个函数,它的第一个参数就是存取保护成员的读写器。
-
These functions behave similarly to the allocate and deallocate members of the allocator class.
这些函数的表现与 allocate 类的 allocator 和 deallocate 成员类似。
-
If you do declare variables, functions, or namespaces at the top level of a package, the only attributes available at that level are public and internal, and only one package-level declaration per file can use the public attribute, whether that declaration is a class, variable, function, or namespace.
在包顶层定义的这些元素的属性只能为public和internal(只对包中的其他成员可见),并且每一个文件中只能有一个包层面的元素定义为public属性,不管这个元素是类、变量、函数还是命名空间。
-
A constructor initializer list specifies initial values for one or more data members of the class.
构造函数的初始化列表为类的一个或多个数据成员指定初值。
-
Director allows you to define multiple classes in a single movie script member and intersperse class definitions with procedural functions that you would have normally defined in a separate script.
Director允许在一个电影脚本成员中定义多个类,或把你需要定义的函数放在不同的脚本的类中定义。
-
In some cases, it is convenient to let specific nonmember functions access the private members of a class while still preventing general access.
在某些情况下,允许特定的非成员函数访问一个类的私有成员,同时仍然阻止一般的访问,这是很方便做到的。
-
Although most objects are initialized by running an appropriate constructor, it is possible to initialize the data members of simple nonabstract classes directly.
尽管大多数对象可以通过运行适当的构造函数进行初始化,但是直接初始化简单的非抽象类的数据成员仍是可能的。
-
Any use of a nonstatic data or function member of the enclosing class requires that it be done through a pointer, reference, or object of the enclosing class.
外围类的非静态数据或函数成员的任何使用都要求通过外围类的指针、引用或对象进行。
-
The constructor of this class will take a reference to the io_service object and use it when initialising the timer_ member.
这个类的构造函数使用一个io_service对象的引用来初始化 timer_ 成员变量。
- 推荐网络例句
-
The split between the two groups can hardly be papered over.
这两个团体间的分歧难以掩饰。
-
This approach not only encourages a greater number of responses, but minimizes the likelihood of stale groupthink.
这种做法不仅鼓励了更多的反应,而且减少跟风的可能性。
-
The new PS20 solar power tower collected sunlight through mirrors known as "heliostats" to produce steam that is converted into electricity by a turbine in Sanlucar la Mayor, Spain, Wednesday.
聚光:照片上是建在西班牙桑路卡拉马尤城的一座新型PS20塔式太阳能电站。被称为&日光反射装置&的镜子将太阳光反射到主塔,然后用聚集的热量产生蒸汽进而通过涡轮机转化为电力