请教关于C/C++序列点的概念

YuChangJian 2007-05-07 11:04:21
下面是C99标准中的一段有关序列点的定义,其中的最后一句,我翻译不准确,请英文好的朋友帮我翻译一下,谢谢!
— The call to a function, after the arguments have been evaluated.
— The end of the first operand of the following operators:
logical AND && ;
logical OR || ;
conditional ? ;
comma , .
— The end of a full declarator:
declarators;
— The end of a full expression:
an initializer;
the expression in an expression statement;
the controlling expression of a selection statement (if or switch);
the controlling expression of a while or do statement;
each of the expressions of a for statement;
the expression in a return statement.
— Immediately before a library function returns.
— After the actions associated with each formatted input/output function conversion specifier.
— Immediately before and immediately after each call to a comparison function, and also between any call to a comparison function and any movement of the objects passed as arguments to that call.(就是这一句)
...全文
356 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
狂暴蜗牛 2011-10-10
  • 打赏
  • 举报
回复
紧接及后立即调用一个比较函数,也调用之间的任何一个比较函数和作为参数传递到该呼叫的任何物体的运动
spofmy 2007-05-16
  • 打赏
  • 举报
回复
在调用comparison函数的前后,以及在调用任何comparison函数和对任何(作为参数传递给这种函数)对象的操作的过程中。
YuChangJian 2007-05-16
  • 打赏
  • 举报
回复
楼上兄弟,哪里说“都是不合法的”?
继续顶起来
wuyuan563 2007-05-15
  • 打赏
  • 举报
回复
在比较函数的声明(命名)前后,甚至是在比较函数的定义中,任何传递参数的操作都是不合法的!
不知道这样行不行,让大家见笑了!
YuChangJian 2007-05-15
  • 打赏
  • 举报
回复
再顶一下,看看有没有人能翻译得好一些
  • 打赏
  • 举报
回复
没看懂
YuChangJian 2007-05-12
  • 打赏
  • 举报
回复
自己再顶一下
YuChangJian 2007-05-10
  • 打赏
  • 举报
回复
自己再顶一下,希望有朋友翻译得准确、流畅一些。
YuChangJian 2007-05-08
  • 打赏
  • 举报
回复
comparison function,谓词函数??
相关操作???哪里提到相关操作了?
再顶,寻求通顺合理的翻译
jixingzhong 2007-05-08
  • 打赏
  • 举报
回复
任何调用 谓词函数 的前后,以及调用的过程内, 和任何作为参数传递给这个谓词函数的对象的相关操作。
YuChangJian 2007-05-08
  • 打赏
  • 举报
回复
楼上朋友的翻译不太准确,因为起码不应该用“或”而应该用“并且”,而且语义不太通顺。
fengdream 2007-05-07
  • 打赏
  • 举报
回复
当比较函数的调用前后,或调用时,任何对象的动作均作为参数传入。
_______________是不是这个意思啊,汗...
YuChangJian 2007-05-07
  • 打赏
  • 举报
回复
晕死!!!
楼上兄弟,你怎么能用那些翻译软件来翻译呢?不可靠的!
expter 2007-05-07
  • 打赏
  • 举报
回复
以前立刻而在每个呼叫之后立刻对一个比较功能, 以及在对一个比较的任何呼叫之间动作而且物体的任何运动被看作是对那呼叫的争论了
--------------------------------------------------
爱词霸在线翻译

不知道为什么翻译成这个样子了

33,311

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 新手乐园
社区管理员
  • 新手乐园社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧