This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C2X Proposal, merge '.' and '->' C operators


> For what it's worth, that is how Go works.  The '.' operator is used
> for struct fields regardless of whether the left hand operand is a
> struct or a pointer to a struct.

Likewise in Ada.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]