Is variable void?

Adam D. Ruppe destructionator at gmail.com
Sat Nov 25 15:38:15 UTC 2017


On Saturday, 25 November 2017 at 15:34:21 UTC, John Chapman wrote:
> Is there any way of determining whether a variable has been 
> initialized or not? For example, if something is declared like 
> this:

nope. It'd be indistinguishable from the user just happening to 
initialize it to some random value.



More information about the Digitalmars-d-learn mailing list