classes structs

Simen Kjaeraas simen.kjaras at gmail.com
Sat Sep 15 06:44:03 PDT 2012


On Sat, 15 Sep 2012 13:05:47 +0200, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:

> if you really need the extra speed of a variable not being
> initialized when it's declared, then you can initialize it to void.

It's also worth noting that default-initialization may be elided when
the optimizer finds that the variable is definitely initialized before
use later in the code.

-- 
Simen


More information about the Digitalmars-d mailing list