<br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 21:47, Torarin <span dir="ltr">&lt;<a href="mailto:torarind@gmail.com">torarind@gmail.com</a>&gt;</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: &quot;If a.fun(b, c, d) is seen but fun is not a member of a&#39;s<br>
type, D rewrites that as fun(a, b, c, d) and tries that as well.&quot;<br>
So I guess it&#39;s possible it won&#39;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>