MEMBER FUNCTIONS - 翻译成中文

['membər 'fʌŋkʃnz]
['membər 'fʌŋkʃnz]

在 英语 中使用 Member functions 的示例及其翻译为 中文

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
In C++ terminology, all class members(including the data members) are public, and all member functions are virtual.
用C++术语来讲,所有的类成员(包括数据成员)都是公有(public)的,所有的成员函数都是虚(virtual)的。
Slots can be used for receiving signals, but they are also normal member functions.
槽能被用来接收信号,除此之外它们也是普通的成员函数
That is, don't require that classes to be serialized be derived from a specific base class or implement specified member functions.
即不要求进行序列化的类派生自某个特定基类或者实现特定的成员函数
For 1, you should also add that methods in C++ are called member functions.
对于1),您还应该添加C++中的方法会员功能
In C++, ensure that nonstatic member functions take three or fewer arguments because of the implicit this pointer argument that is usually passed in R0.
在C++中,请确保非静态成员函数的参数不超过三个,因为有隐式的this指针参数,它通常在R0中传递。
Multiple functions in the same scope may have the same name, as long as their parameter lists and, for member functions, cv/ref qualifications are different.
同一作用域中,多个函数可有相同名称,只要其形参列表,以及对于成员函数的cv或引用限定不同即可。
In C++ terminology, normally class members(including the data members) are public(except see below Private Variables), and all member functions are virtual.
在C++术语中,通常类成员(包括数据成员)是public(除了见下文私有变量),所有成员函数都是virtual。
Instances of these data types are known as objects and can contain member variables, constants, member functions, and overloaded operators defined by the programmer.
这些数据类型的实例被称为对象,这些实例可以包含程序员定义的成员变量、常量、成员函数,以及重载的运算符。
On the outside, your objects have users of your class, and these users are restricted to using only public member functions and friends.
从外部来看,妳的这些对象,都拥有这些类的外部用户,这些用户被限制为只能使用公有(public)成员函数和友元(friends)函数。
As an example of the first possibility, in C++11, a thread that needs the value of a future can block until it is available by calling the wait() or get() member functions.
作为第一种可能性的示例,在C++11中,需要future值的线程可以通过调用wait()或get()成员函数来阻塞,直到可用为止。
In C++ terminology, normally class members(including the data members) are public(except see below Private Variables), and all member functions are virtual.
用C++术语来讲,所有的类成员(包括数据成员)都是公有(public)的(其它情况见下文私有变量*),所有的成员函数都是虚(*virtual)的。
A static data member function accesses only the static data members of a class.
记住,static成员函数只能访问类的static数据成员。
First, it is a global function, not a member function.
首先,他是个全局函数,而不是成员函数
Information hiding Encapsulation can be used to hide data members and members function.
封装可被用于隐藏数据成员和成员函数
Any member function pointer can be compared with 0 to see if it is null.
任何成员函数指针都可以和0做比较以判断它是否为空。
It's worth noting that, as well as member function pointers, the C++ standard also provides member data pointers.
需要值得注意的是,就像成员函数指针,标准C++中同样提供了成员数据指针(memberdatapointer)。
If member is a static member or a member function, the behavior is undefined.
若member是static成员或成员函数,则行为未定义。
Member function pointers have a horrible restriction: they can only point to member functions of a single class.
成员函数指针有一个可怕的限制:它们只能指向一个特定的类中的成员函数。
If you're using member function pointers, you should always use a typedef to avoid confusion.
如果你使用了成员函数指针,你最好使用typedef以防止混淆。
Member-specification- list of access specifiers, member object and member function declarations and definitions(see class definition).
Member-specification-访问指定符、成员对象及成员函数声明与定义的列表(见后述).
结果: 105, 时间: 0.0285

单词翻译

顶级字典查询

英语 - 中文