[SAoC 2021] Replace druntime Hooks with Templates: Milestone 1, Week 1
Teodor Dutu
teodor.dutu at gmail.com
Thu Sep 23 18:28:31 UTC 2021
On Thursday, 23 September 2021 at 17:04:51 UTC, Alexandru
Ermicioi wrote:
> On Thursday, 23 September 2021 at 15:15:32 UTC, Teodor Dutu
> wrote:
>> Speaking of indirection, at the end of this project, the
>> `TypeInfo` class will be removed as all its information will
>> be used at compile time.
>
> With what it will be replaced then?
>
> Will I be able to do this:
>
> ```
> int[] id;
>
> typeid(id).writeln;
> ```
>
> The typeinfo itself would be best to remain imho. Though
> functionality that is only related to those hooks should be
> removed.
Yes, you're right. What I meant to say is that `TypeInfo` will
only be removed from the hooks' ecosystem (together with the
hooks themselves) and in its entirety.
Teodor
More information about the Digitalmars-d
mailing list