What is the stance on partial initializers when declaring multiple variables of the same type?

Trass3r un at known.com
Fri Jul 22 06:40:00 PDT 2011


Am 21.07.2011, 21:55 Uhr, schrieb Andrej Mitrovic  
<andrej.mitrovich at gmail.com>:

> On 7/21/11, Jacob Carlborg <doob at me.com> wrote:
>> How about you create a new type, that can be implicitly converted to
>> float and is initialized to 0.0.
>
> Ha, never thought about that! When I think about it, most of the time
> I want my floats to be 0-initialized.

me too!


More information about the Digitalmars-d mailing list