This is the mail archive of the gcc-patches@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: [C++ PATCH] Using directives (again)


Mark Mitchell wrote:-

> What we actually needed here was object-orientation.
> 
> The problem is that when you add a new tree-code, you have to find all
> the predicates that operate on it -- it would be better to write
> virtual functions that gives the attributes of the tree-code directly
> with the tree-code.  Someday.

Great - I wondered out loud about this on the list about 3 months ago,
but never got a response.  I think it would make stuff less buggy and
clearer, too.

Neil.


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