assignment operator信息详情

assignment operator发音

意思翻译

[计]赋值运算符

相似词语短语

augmented assignment operator───增广赋值算子

operator───n.经营者;操作员;运营商;话务员;行家;接线员

assignment───n.分配;任务;作业;功课

bellman operator───行李员操作员

radio operator───无线电报务员[话务员];无线电话务员

unchecked assignment───未选中的分配

writing assignment───书面作业;写作任务

keyboard operator───电脑操作员;键盘操作员;n.电脑操作员; [计]键盘操作员

concatenation operator───连锁作用标记(指+号);并置算符;连接算符

双语使用场景

Everything to the right of the assignment operator.───赋值操作符右边的所有内容。

So you don't have to use the assignment operator.───所以你并不需要使用赋值运算符。

Everything to the left of the assignment operator.───赋值操作符左边的所有内容。

However, you can define implicit conversion operators for a type, which enable you to use the assignment operator with those types.───不过,可为类型定义隐式转换运算符,这样就可以对这些类型使用赋值运算符。

An assignment operator was not accessible in a base class and was therefore not generated for a derived class.───基类中的赋值运算符不可访问,因此无法为派生类生成赋值运算符。

Operator is only the equality comparison operator , not the assignment operator .───运算符只是相等比较运算符,而不是赋值运算符。

A version of the assignment operator created ( synthesized ) by the compiler for classes that do not explicitly define one.───由编译器为没有显式定义赋值操作符的类创建(合成)的赋值操作符版本。

If the default copy constructor and assignment operator are acceptable, add a comment stating this to your class declaration.───如果默认的拷贝构造函数和付值操作符是可取的,在你的类生命中增加一条注释说明这些。

The assignment operator. Copies the contained elements, hash function, predicate and maximum load factor but not the allocator.───赋值操作符。复制所含的元素、散列函数、谓词、最大负载因子,但不复制分配器。

英语使用场景

However, the Java language, unlike C, has separate int and boolean types. The assignment operator returns an int, whereas the comparison operator returns a boolean.

The copy constructor and destructor but no assignment operator.

When a binary operator is overloaded, the corresponding assignment operator, if any, is also implicitly overloaded.

So this is the equality operator, whereas the single equal sign is the assignment operator.

The compiler cannot generate an assignment operator for the given class.