A problem with const

Daniel Murphy yebblies at nospamgmail.com
Thu Jul 14 04:31:01 PDT 2011


I don't think there's a bug report specifically on this.

"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:ivmigl$98a$1 at digitalmars.com...
> Daniel Murphy:
>
>> Yeah, type deduction with modifiers is inconsistent.
>>
>> In some cases matching T to const(U) gives U == tailconst(T), but not in
>> others.
>> The problem exists with pointers, arrays, and (if we ever get it) Michel
>> Fortin's const(Object)ref.
>
> Is this already in Bugzilla, or do you want me to create a new Bugzilla 
> enhancement request with my examples?
>
> Bye,
> bearophile 




More information about the Digitalmars-d-learn mailing list