What does 'inline' mean?

Manu turkeyman at gmail.com
Sat Jun 13 01:16:27 UTC 2020


On Sat, Jun 13, 2020 at 11:00 AM Walter Bright via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On 6/11/2020 6:51 PM, Manu wrote:
> > I'm fairly sure C++ uses the link flag that LLVM calls "choose one".
> > It's in the C++ spec that all inlines collapse to the same one. We
> should be
> > using the same flag.
>
> D totally relies on that behavior.
>

 So emit the function to the CU where it's called and we're done here!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200613/78a5c439/attachment.htm>


More information about the Digitalmars-d mailing list