Errors using the same identifier as type and function name

John Fine johnsfine@verizon.net
Tue Sep 2 01:00:00 GMT 2008



Rodolfo Lima wrote:
>   the fact that we're referencing 'struct type' *before* specifying 
> 'A::type' function name shouldn't make both identifiers ambiguous.
>
>
Sequence doesn't work that way when declaring members.  Inside a struct 
definition, you can use a member name before declaring it.




More information about the Gcc-help mailing list