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: c++ "with" keyword


> using the method you proposed will possibly degrade the code, wheras using 
> macros (and "with" should be implemented into the cpp) has never any runtime 
> penalties.


Either may degrade the code, you have no idea. Neither should have any
significant penalty.

No, WITH absolutely can not be done using CPP, this is a horrible suggestion,
since fairly subtle visibility analysis is required, particularly with
respect to detecting and rejecting ambiguous references. So the processing
of WITH would be part of the static semantic processing.


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