An alternative to .init

Manfred_Nowak svv1999 at hotmail.com
Wed Sep 10 18:17:55 PDT 2008


Walter Bright wrote:

> But for many types, there is no such thing as an invalid value

Why can one then define

|   typedef int T=void; // T.init == void

-manfred

-- 
If life is going to exist in this Universe, then the one thing it 
cannot afford to have is a sense of proportion. (Douglas Adams)



More information about the Digitalmars-d-announce mailing list