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>




--On Wednesday, January 29, 2003 09:29:14 AM +0100 Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

We alreay do the same thing for static_cast<>, dynamic_casst<>,
reinterpret_cast<> and such.  There is no additional inherent complexity.
Well, I did write the code and I have spent a fair amount of time thinking
about it, and I beg to differ. :-)

You're suggesting treating bulitin functions as keywords, not as functions.
(That's your analogy with static_cast and sizeof.  Those constructs are
not parsed as function calls at all.)

If we do that, things will work -- but then we might as well have
builtin *values* -- rather than builtin *functions*.

That's what I'm suggesting.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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