<br><br><div class="gmail_quote">On Thu, Mar 4, 2010 at 13:12, Steven Schveighoffer <span dir="ltr">&lt;<a href="mailto:schveiguy@yahoo.com">schveiguy@yahoo.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 is an issue with DDoc.  I think the signatures are not that nasty if you look at the actual code.  I think DDoc expands all aliases so you get the full template-expanded signature.<br><br></blockquote><div><br>The problem also is that when you use &#39;auto&#39;  to simplify your code, DDoc doesn&#39;t process the associated documentation comment! Gee, I wonder if that&#39;s somewhere in bugzilla?<br>
Ah, there: <br><a href="http://d.puremagic.com/issues/show_bug.cgi?id=2581">http://d.puremagic.com/issues/show_bug.cgi?id=2581</a><br><br>Else I&#39;d use auto much more often. As it is, the only solution I found to avoid monstrous many-lines templated types is something suggested here: have the type produced by a wrapper template. It duplicates the work for the library writer, but it&#39;s easier on the eye for the user.<br>
<br>/**<br>Lazily returns all subranges of a range, beginning with an empty range.<br>*/ <br>SubRanges!R subranges(R)(R range) {...}<br><br><br>Philippe<br><br><br><br></div></div>