Could const/invariant be optional?

Craig Black cblack at ara.com
Fri Mar 28 12:32:32 PDT 2008


I think most would agree that const is more useful for some programs, but 
more of an annoyance for others.  Could the const be disabled by a compiler 
option?  If I disabled const when compiling a source file, I could still 
rely on libraries that supported const, but I could write code as if there 
were no const constraints.

-Craig 





More information about the Digitalmars-d mailing list