Getting the const-correctness of Object sorted once and for all

Jonathan M Davis jmdavisProg at gmx.com
Sun May 13 21:18:08 PDT 2012


On Monday, May 14, 2012 05:47:54 Alex Rønne Petersen wrote:
> It's kinda funny that something which on dlang.org's FAQ is described as
> a compiler optimization hint (http://dlang.org/const-faq.html#const)
> isn't useful at all for this purpose...

Oh, it's definitely useful for optimizations. It just doesn't work with a 
couple of idioms that some programmers like to use in order to optimize their 
code.

- Jonathan M Davis


More information about the Digitalmars-d mailing list