is(x = module) vs. __traits(isModule, x)
Stefan Koch
uplink.coder at googlemail.com
Sun Oct 11 15:31:57 UTC 2020
On Sunday, 11 October 2020 at 14:32:17 UTC, Nick Treleaven wrote:
> On Sunday, 11 October 2020 at 11:48:23 UTC, Stefan Koch wrote:
>> __top is the top type.
>> that which can hold anything.
>> symbols, complete expressions, types, values, tuples.
>> anything.
>
> OK thanks. Can it also implicitly hold the context that the
> expression was used in? If not I don't think we can wrap
> __traits(compiles).
Well ... I have to think about that.
Sounds hairy if you ask me.
More information about the Digitalmars-d
mailing list