Topic: Q: history of inline
Author: Eric Gindrup <gindrup@okway.okstate.edu>
Date: 1997/04/18 Raw View
Does anyone recall or have a reference as to why the inline keyword
is used "backwards"? It would appear to be more useful at
function invocation than at function definition.
-- Eric Gindrup ! gindrup@okway.okstate.edu
---
[ comp.std.c++ is moderated. To submit articles: Try just posting with your
newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
Comments? mailto:std-c++-request@ncar.ucar.edu
]
Author: Pulkkinen Esa <esap@cs.tut.fi>
Date: 1997/04/19 Raw View
Eric Gindrup <gindrup@okway.okstate.edu> writes:
> Does anyone recall or have a reference as to why the inline keyword
> is used "backwards"? It would appear to be more useful at
> function invocation than at function definition.
Perhaps because otherwise the compiler doesn't have access to the
function definition at the function invocation, and so can't
inline anyway....
--
Esa Pulkkinen | C++ programmers do it virtually
E-Mail: esap@cs.tut.fi | everywhere with class, resulting
WWW : http://www.cs.tut.fi/~esap/ | in multiple inheritance.
---
[ comp.std.c++ is moderated. To submit articles: Try just posting with your
newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
Comments? mailto:std-c++-request@ncar.ucar.edu
]