TypeFunction example: ImplictConvTargets

Steven Schveighoffer schveiguy at gmail.com
Tue Oct 6 18:17:51 UTC 2020


On 10/6/20 1:51 PM, foobar wrote:
> On Tuesday, 6 October 2020 at 12:35:15 UTC, Stefan Koch wrote:
>> On Tuesday, 6 October 2020 at 11:34:10 UTC, foobar wrote:
>>> On Tuesday, 6 October 2020 at 03:50:11 UTC, Stefan Koch wrote:
>>>> [...]
>>>
>>> Actuallly yes.
>>> The language changes affect the user. This is a large change to the 
>>> language which puts back in the compiler what we do in libraries. 
>>> Whoop-de-do.
>>> Do type functions do anything new?
>>
>> It only gives access to what the compiler has to do anyway.
>> It gives you an interface to what must exist within.
>> You could even say this makes it easier to provide a library 
>> implementation by using the compiler as a built-in library.
>> No, type functions don't do anything original they mirror how type 
>> manipulation works within templates providing a familiar and usable 
>> interface.
>> It is an explicit goal of mine to have type functions look just like 
>> any other D code.
> 
> Last time I looked D was a small language but very powerful. It 
> innovated and did things you could not do in C++. Now this forum has 
> been taken over by beginners who want a big language which does the same 
> as before, only differently. Yawn.

Everything you just said is wrong.

-Steve


More information about the Digitalmars-d mailing list