Redian新闻
>
新的文章能用在RFE里吗?
avatar
新的文章能用在RFE里吗?# Immigration - 落地生根
K*i
1
某本数据结构英文教材上说Top方法是accessor, 返回值的时候栈中还有这个值,因此
可以返回const引用。Pop方法可以没有返回值,但带返回值的Pop方法不允许返回引用
,因为Pop后这个值逻辑上在栈中被删除了。
假如Top和Pop方法的原型是
template
const T& Top() const;
void Pop();
问题是Top方法返回引用也有问题:
如果调用者这样写
T t = S.Top();
这个问题不大,因为是赋值给t
但如果调用者这样写
const T& t = S.Top();
S.Pop();
这样一来,再使用t不就有问题了么?
avatar
i*s
2
仔细看了一下RFE信,“evidence must show that the beneficiary was eligible
for the requested benefit when the Form 140 petition was filed”
新发的文章,新的citation和review都不能用吗?
avatar
q*x
3
it's the coder's job to make the data fresh.

【在 K*******i 的大作中提到】
: 某本数据结构英文教材上说Top方法是accessor, 返回值的时候栈中还有这个值,因此
: 可以返回const引用。Pop方法可以没有返回值,但带返回值的Pop方法不允许返回引用
: ,因为Pop后这个值逻辑上在栈中被删除了。
: 假如Top和Pop方法的原型是
: template
: const T& Top() const;
: void Pop();
: 问题是Top方法返回引用也有问题:
: 如果调用者这样写
: T t = S.Top();

avatar
h*l
4
引用因该可以
那些发了的paper肯定在你交140以前,不过是现在才刚刚能搜到

【在 i******s 的大作中提到】
: 仔细看了一下RFE信,“evidence must show that the beneficiary was eligible
: for the requested benefit when the Form 140 petition was filed”
: 新发的文章,新的citation和review都不能用吗?

avatar
K*i
5
你的意思是:
如果程序员设计栈的时候
const T& Pop();
这个是程序员的问题,面试的时候这样很大可能被拒,被认为是基本原则错误?
如果程序员设计栈的时候
const T& Top() const;
这个是大多数教科书包括STL的做法
调用者这样用:
const T& t = S.Top();
S.Pop();
这个是调用者的问题,而不是程序员的问题?面试的时候基本不会有什么麻烦?

【在 q****x 的大作中提到】
: it's the coder's job to make the data fresh.
avatar
J*9
6
Even they have that regulation as you pasted.
However, you need to mention the new evidence in your response, for sure.
They are good to show that you are continuing make contributions to the
field (your new papers) and you are continuing benefit other researchers
across the world (your new citations).
avatar
p*1
7
Just like you write:
int* a = new int;
int& b = *a;
delete a;

【在 K*******i 的大作中提到】
: 你的意思是:
: 如果程序员设计栈的时候
: const T& Pop();
: 这个是程序员的问题,面试的时候这样很大可能被拒,被认为是基本原则错误?
: 如果程序员设计栈的时候
: const T& Top() const;
: 这个是大多数教科书包括STL的做法
: 调用者这样用:
: const T& t = S.Top();
: S.Pop();

avatar
i*s
8
谢谢。那我当时递交的时候,一篇文章是在review, 现在接受了,马上
就要 in press了,这种情况可以吗?

【在 h**********l 的大作中提到】
: 引用因该可以
: 那些发了的paper肯定在你交140以前,不过是现在才刚刚能搜到

avatar
K*i
9
不错的类比,确实是使用者的问题,多谢。

【在 p*1 的大作中提到】
: Just like you write:
: int* a = new int;
: int& b = *a;
: delete a;

avatar
g*3
10
show 出来总比不 show出来好。
avatar
i*s
11
谢谢您的指点。我觉得这是正解。我用一封推荐信来证明这个可以吗?但貌似没有要求
补sustained材料。

【在 J****9 的大作中提到】
: Even they have that regulation as you pasted.
: However, you need to mention the new evidence in your response, for sure.
: They are good to show that you are continuing make contributions to the
: field (your new papers) and you are continuing benefit other researchers
: across the world (your new citations).

avatar
i*s
12
谢谢!害怕画蛇添足

【在 g*******3 的大作中提到】
: show 出来总比不 show出来好。
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。