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]

Re: Prefix attributes vs. grammar


I hope that we will allow attributes on definitions, as well as
declarations.  It would be nice if member function definitions, inline
within a class declaration, would work.  IIRC, the attributes are only
allowed on declarations, not definitions, which is awkward for inline
member functions, where a single entity serves both roles.


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