This is the mail archive of the
mailing list for the GCC project.
Re: On inlining in C++
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, gdr at integrable-solutions dot net
- Cc: aph at redhat dot com, gcc at gcc dot gnu dot org
- Date: Mon, 4 Aug 2003 13:43:50 -0400 (EDT)
- Subject: Re: On inlining in C++
> You should refrain from making such hash assertions about C++
> programmers. "inline" like any other C++ features is documented and
> here is not the right place to transmute a meaning of an ISO
> standardized language.
They are not hash (rash?) assertions, they are simply obsrevations. I have
dealt with a LOT of C++ code written by a lot of people.
If you refer to the ISO standardized language, you are on thin ground, since
it has little to say that is meaningful in this area.
This is not about standard conformance at all, this is about what is
pragmatically best from a code generation point of view, something
the standard is not concerned with. As far as the standard is concerned
you can do multiplication by repeated addition :-)