Let's not make invariants const

deadalnix deadalnix at gmail.com
Sat Aug 4 01:41:37 PDT 2012


Le 03/08/2012 22:41, Alex Rønne Petersen a écrit :
> Further, I had to insert casts that cast away constness in some cases
> because the standard library just isn't const-friendly enough. We need
> to get our priorities straight.
>

Why don't you think this is actually the issue ? (I do).

BTW, const inference could be great to solve that or that problem will 
arise again and again.


More information about the Digitalmars-d mailing list