- 论坛徽章:
- 1
|
A very special rule applies to declarations of the form
struct-or-union identifier;
that declare a structure or union, but have no declaration list and no declarators. Even if the identifier is a structure or union tag already declared in an outer scope (Par.A.11.1), this declaration makes the identifier the tag of a new, incompletely-typed structure or union in the current scope.
This recondite is new with ANSI. It is intended to deal with mutually-recursive structures declared in an inner scope, but whose tags might already be declared in the outer scope.
请问有朋友可以跟我说上面所说的是什么意思? 看很久都不太明白它的意思 , 可否用代码举例一下他的意思
谢谢 |
|