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: On inlining in C++


Richard Guenther <rguenth@tat.physik.uni-tuebingen.de> writes:

| Of course - but this looks like a workaround for a C++ defect, not like a
| good design principle ;) I'd rather like
| 
| void f(int) { ... }
| 
| void g(int i) {
|   inline f(5);
|   f(i);
| }
| 
| to have one call inlined, not the other. But of course this aint C++...

Please, let's separate new language features design from implementation
of existing ones.  

The next C++ standards committee meeting is in September in Kona.  If
you think that is something C++ should have, please submit a proposal.  

-- Gaby


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