直到目前为止,修改对象属性时需要费一些特别的心思,例如使用左值子程序,你就可以直接操作子程序返回的标量。
Until now, special care had to be taken to allow modification of object attributes, for example. With lvalue subroutines, you can directly affect scalars returned by subroutines.
接下来,您要计算余下的每个单元格的值,通过考虑它的三个邻居来计算:上、左、对角上和左。
Next, you calculate the values in each remaining cell by considering its three neighbors: above, to the left, and diagonally upward and to the left.
子程序这章主要针对新的语法(原型和属性),以及左值属性(5.6.0)。
The subroutines chapter covers new syntax (prototypes and attributes), plus the brand new lvalue attribute (as of 5.6.0).
清单4中的示例假定您需要将所有字母值左对齐或居中,所有数字值右对齐。
The example in Listing 4 assumes that you want all alphanumeric values to be left-justified or centered, and all numeric values to be right-justified.
对于一个给定的维,有3个wgrow值要考虑:两个边(左和右,或者上和下)和child值本身。
Given a dimension, you have three wGrow values to consider: two of the sides (left and right, or top and bottom) and the child's value itself.
这个宏中的左值和右值必须是相同类型的 — 即要么是float,要么是double。
The left and right values in the macro must be of the same type—float or double.
描述二叉树(binarytree)的节点有一个数据值、一个左指针和一个右指针;不过,很多数据体要求树不只有一个左分支和一个右分支。
Binary trees are represented by nodes that have a data value and a left and right pointer; however, there are many data structures that require trees with more than just a left and right branch.
gnuplot按以下次序绘制框的边框:顶、底、左和右,值分别为1、2、4、8。
Gnuplot draws the borders of the boxes in this order: top, bottom, left, and right, with their respective values: 1, 2, 4, 8.
它显示的是北极海洋结冰程度在2009年9月的最低值(左)和2010年3月的最高值(右)。
They show Arctic sea ice extent for the September 2009 minimum (left) and March 2010 maximum (right).
空树的汇总是零,其他树的汇总是左树加上Integer的值再加上右树的值。
The sum of an empty tree is zero, and the sum of other trees is the sum of the left tree plus the value of the Integer plus the sum of the right tree.
变量是左值,因此可以出现在赋值语句的左边。数字字面值是右值,因此不能被赋值。给定以下变量。
Variables are lvalues and so may appear on the left-hand side of an assignment. Numeric literals are rvalues and so may not be assigned. Given the variables.
谨记区分的重要方法是:如果对左操作数进行解引用,则修改的是指针所指对象的值;
The important thing to keep in mind is that if the left-hand operand is dereferenced, then the value pointed to is changed.
11标准c++裁判没有初始化和左值右值引用吗?
C + + 11 standard ref for not initializing rvalue reference with lvalue?
区分左值和右值,并举例说明。
Distinguish between an lvalue and an rvalue; show examples of each.
有些操作符,比如赋值,要求其中的一个操作数必须是左值。
Some operators, such as assignment, require that one of their operands be an lvalue.
左值出现的上下文决定了左值是如何使用的。
The context in which an lvalue appears determines how it is used.
这时候的左值可以解释为:对象是一个命名的存储区域,左值是对象引用的表达式。
An object is a named region of storage; an lvalue is an expression referring to an object.
本文在特征值及右特征向量均为已知的条件下,提出一种直接求解左特征向量的方法。
This paper presents a direct solution to the left eigenvector of the asymmetrical matrix under the condition that the eigenvalue and the right eigenvector are known.
二尖瓣口血流频谱测值一般反映了左室舒张功能状态,但对几例出现的“伪正常”频谱表现难以明确评价。
Mitral valve flow spectrum commonly reflect the state of left ventricular diastolic function, but several cases with pseudonormalization spectrum can't be clearly assessed.
数组是值的有序的集合。数组开头[(左的方括号),并以结束](右方括号)。用,(逗号)分隔值。
An array is an ordered collection of values. An array begins with [(left bracket) and ends with] (right bracket). Values are separated by, (comma).
结果,可以使用左值的上下文比右值更广。
As a result, lvalues can be used in more contexts than can rvalues.
对相同长度的比特流而言,右优先比特流随机测度值普遍最高,左优先比特流随机测度值普遍最低,其它位置比特流随机测度值普遍介于两者之间。
In respect of the same length of the bit flow , right priority random metric is universally the highest, and the left priority one is universally the lowest with others between the two.
与下标和解引用操作符一样,赋值操作也返回左值。
Like the subscript and dereference operators, assignment returns an lvalue.
自动边界数据采集系统是用梯度边缘追踪法自动获取左室内膜边界的曲线点,使用三次曲线插值法及最小二乘法拟合整条左室边界曲线。
The system of automatic boundary data acquisition can obtain the curve data of the endocardium boundary of left ventricle with the tracing algorithm of the gradient image edge.
结论:在进行认知活动时,左、右脑之间的相互作用可通过脑电的相干幅值变化反映出来。
CONCLUSION: the results indicated that in the process of cognitive activities, the interaction between left and right brains could be reflected by the change of CohA spectrum.
观测左室CK图像色带层次、色彩及心内膜彩色位移值(sem)。
The layers, colors and spatiality of endocardial motion (SEM) of CK images of left ventricles were observed.
观测左室CK图像色带层次、色彩及心内膜彩色位移值(sem)。
The layers, colors and spatiality of endocardial motion (SEM) of CK images of left ventricles were observed.
应用推荐