NaNs Just Don't Get No Respect

Walter Bright newshound2 at digitalmars.com
Sat Aug 18 20:42:42 PDT 2012


On 8/18/2012 2:16 PM, bearophile wrote:
> Another sub-thread that shows a very important thing, that's missing:
>
> http://www.reddit.com/r/programming/comments/yehz4/nans_just_dont_get_no_respect/c5v1u0y

Oh come on. That's called a "user defined type."

struct OptionType {
     private T m_value;

     @property T value() { check m_value; return m_value; }
}


More information about the Digitalmars-d-announce mailing list