You know how I was saying in my DConf talk...

Adam D. Ruppe destructionator at gmail.com
Wed Jul 24 03:47:11 UTC 2019


On Wednesday, 24 July 2019 at 03:11:02 UTC, Ethan wrote:
> So which one is it? Is it copy/paste and a replacement for 
> parameterised C macros as sold, or is it something else?

That page never claims it is a replacement for C macros, and it 
said it is "analogous" to copy/paste, not identical to it, then 
goes on to describe specific behaviors.

The details of names appear later on: 
https://dlang.org/spec/template-mixin.html#mixin_scope including 
the overriding behavior of locals, conflicts with multiple 
mixins, and more.

So, yes, it is something else.


More information about the Digitalmars-d mailing list