小编aal*_*vic的帖子

Weird behaviour of prefix and postfix operators

Why is the first expression allowed, but the second not:

void test()
{
   int a;

   ++a = getSomeInt();
   a++ = getSomeInt();
}
Run Code Online (Sandbox Code Playgroud)

I mean, why its forbidden for the second one to be an lvalue? The second one makes sense and the first not. In the first one we increment the variable and immediately after we gave here a new value, we lose it. That's not the case in the second expression. It makes sense to assign some value …

c++ compiler-construction standards

3
推荐指数
1
解决办法
386
查看次数

如何在 Oracle 中检查所有无效的同义词

我有一个表 user_synonyms,我可以在其中看到名称、表和表所有者。有没有办法查看这个同义词是否仍然有效,即 如果不手动尝试引用表仍然存在?

oracle synonym

2
推荐指数
1
解决办法
3万
查看次数

标签 统计

c++ ×1

compiler-construction ×1

oracle ×1

standards ×1

synonym ×1