The problem with const proposals

Janice Caron caron800 at googlemail.com
Fri Dec 7 10:09:55 PST 2007


On 12/7/07, guslay <guslay at gmail.com> wrote:
> Here is my list so far

But what is it a list /of/?

I ask because item 6a violates const-transitivity, and
const-transitivity is itself deemed to be a requirement of the D
programming language. Are we compiling a list of conflicting
requirement here?

My list would be much shorter. It would be that const should be:
(1) simple to understand
(2) transitive
(3) compatible with generic programming

...and that's kind of it, really.



More information about the Digitalmars-d mailing list