<br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 21:47, Torarin <span dir="ltr"><<a href="mailto:torarind@gmail.com">torarind@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
It says: "If a.fun(b, c, d) is seen but fun is not a member of a's<br>
type, D rewrites that as fun(a, b, c, d) and tries that as well."<br>
So I guess it's possible it won't work with numerical types because<br>
they can never have members.<br><br></blockquote><div><br>I just tried this:<br><br><br> int i;<br> writeln(i.max); // writes int.max !<br><br>So it seems you can access the type properties through a value of that type.<br>
Man, I learnt two new things in two minutes...<br><br>Philippe<br><br><br> <br></div></div>