[pro] Meaning of "inline" when applied to a generic function?

Jean-Claude Beaudoin jean.claude.beaudoin at gmail.com
Wed Jul 9 22:00:44 UTC 2014


Hello CL pros,

I am trying to figure out the meaning of the inline declaration when the so
qualified function happens to be a generic function. As in:

(declaim (inline foo))
(defgeneric foo (a b))

What can be expected of a compiler when it then faces a call to foo while
the above is in effect?

Is this an obvious no-op or did some find something useful to do in such a
context?

Thanks for your help,

JCB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20140709/4377b408/attachment.html>


More information about the pro mailing list