Overloading based on attributes - is it a good idea?
Jonathan Marler
johnnymarler at gmail.com
Wed May 29 15:10:41 UTC 2019
On Wednesday, 29 May 2019 at 09:50:13 UTC, Atila Neves wrote:
> On Wednesday, 29 May 2019 at 02:50:24 UTC, Jonathan Marler
> wrote:
>> On Wednesday, 29 May 2019 at 01:14:04 UTC, Walter Bright wrote:
>>> [...]
>>
>> You do realize that all template code literally compiles to
>> nothing right?
>>
>> A template isn't code, it's just a "template" that can be
>> instantiated. If all you have is templates then there's
>> nothing to instantiate them.
>
> I'm pretty sure Walter knows how templates work given that he's
> implemented them twice.
Yeah, no argument from me.
More information about the Digitalmars-d
mailing list