Is `void` the correct way to say "do not initialize this variable"?
    kdevel 
    kdevel at vogtner.de
       
    Mon Oct  3 14:37:35 UTC 2022
    
    
  
On Sunday, 2 October 2022 at 23:37:26 UTC, ryuukk_ wrote:
> I got the answer thanks to IRC chat: 
> https://dlang.org/spec/declaration.html#void_init
Quote:
    Implementation Defined: If a void initialized variable's value 
is used
    before it is set, its value is implementation defined.
Shouldn't this read
    Unspecified Value: If a void initialized variable's value is 
used
    before it is set, its value is unspecified.
?
    
    
More information about the Digitalmars-d-learn
mailing list