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: Invalid code in <limits>


Mark Mitchell <mark@codesourcery.com> writes:

| --On Wednesday, January 29, 2003 12:01:33 AM -0800 Richard Henderson
| <rth@redhat.com> wrote:
| 
| >
| > Plus, I don't see how this helps.  A name's a name, isn't it?
| > How does having a magic variable work out better than a magic
| > function?  Seems like you still go through name lookup...
| 
| Name lookup's not the problem -- you have to do that.  It's evaluating
| function calls that's the problem. 

That is no new problem.  It just reuses existing treatment of things
like static_cast<>, dynamic_cast<> and such.

| You'll have to trust me on this one;
| trying to explain it would require so much standardese it would be silly.

Unfortunately, I have to disagree: this is really different than things
that the compiler already does.  Let's put in a scalable framework,
not multiply special individual keywords.

-- Gaby


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