What does 'inline' mean?

Stefan Koch uplink.coder at googlemail.com
Wed Jun 10 00:20:07 UTC 2020


On Wednesday, 10 June 2020 at 00:02:09 UTC, H. S. Teoh wrote:
> On Tue, Jun 09, 2020 at 04:48:17PM -0700, Walter Bright via 
> Digitalmars-d wrote:
>> [...]
> [...]
>> [...]
> [...]
>
> Yeah, I was about to say, judging from what Manu has written 
> several times in this thread, his concept of 'inline' bears 
> striking resemblance to a template function:
>
> [...]

Yes making the function a function template will do that.
And Manu is fully aware of it.

It's a nasty hack.
And in certain cases it screws with overload-resolution.


More information about the Digitalmars-d mailing list