TypeFunction example: ImplictConvTargets
claptrap
clap at trap.com
Tue Oct 6 12:32:17 UTC 2020
On Tuesday, 6 October 2020 at 12:07:40 UTC, John Colvin wrote:
> On Tuesday, 6 October 2020 at 10:22:44 UTC, Stefan Koch wrote:
>> On Tuesday, 6 October 2020 at 01:12:01 UTC, Walter Bright
>> wrote:
>>> [...]
>>
>> Okay let me show you the transitive dependencies of the "3
>> liner" suggested by Andrei and executed by Paul Backus.
>>
>> [...]
>
> That implementation was *definitely* (and very obviously) not
> created for simplicity. It can be done in way fewer lines than
> that (and you know that, obviously).
Maybe "simple and concise" takes a lot more work to extract from
templates. I mean the type function version is so obvious it's
probably what a newbie would write, the simple concise solution
is the obvious one. Is the same true of the template / mixin
versions? Or do you have to be a D sage to make it palatable?
More information about the Digitalmars-d
mailing list