A problem with const
bearophile
bearophileHUGS at lycos.com
Thu Jul 14 04:04:53 PDT 2011
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