<br><br><div class="gmail_quote">On Sun, Jul 25, 2010 at 16:08, div0 <span dir="ltr"><<a href="mailto:div0@sourceforge.net">div0@sourceforge.net</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;">
<div class="im">On 25/07/2010 13:55, Philippe Sigaud wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
OK, I must be tired, I don't know.<br>
</blockquote>
<br></div>
Nope you're not tired.<br>
Templated constructor functions are not currently supported in D. :(<br>
</blockquote></div><br>Ouch.<br><br>I did that many many times, but for structs. Case in point, I encountered this while deciding to switch from struct to classes, thinking inheritance would suppress lot of code duplication. Aw, man, first time in months I use classes in D, and it's killed in the womb.<br>
OK, there are solutions for for what I envision, but that will be more painful. <br><br>Thanks, div0<br>