Google
  Web www.spinics.net

Re: Errors using the same identifier as type and function name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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.



[Linux C Programming]     [C Programming]     [Kernel List]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]     [C++ How to Program]

Add to Google