Why is this?

Manu via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 5 23:23:32 PDT 2016


On 6 September 2016 at 16:10, rikki cattermole via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On 06/09/2016 6:07 PM, Manu via Digitalmars-d wrote:
>>
>> I have weird thing:
>>
>> template E(F){
>>     enum E {
>>         K = F(1)
>>     }
>> }
>>
>> struct S(F = float, alias e_ = E!double.K) {}
>
> typeof(E!double.K)

== double ?? Not sure what you're saying.


More information about the Digitalmars-d mailing list