这段代码为啥能过编译?*c = join(a, b) 我没写 test:: 。是什么语法糖吗?
*c = join(a, b)
test::
namespace test { struct node { int x; }; node *join(node *a, node *b) { return a; } } int main() { test::node *a, *b, *c = join(a, b); return 0; }