<div dir="ltr"><br><div class="gmail_extra"><br>[...]<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
</blockquote>
<br>
Just for fun I wrote some theoretical code that could be used in a program like Geany to compare styles between various C's and C++'s (note: none of it tested).<br>
<br>
<a href="http://pastebin.geany.org/gYFMO/" target="_blank">http://pastebin.geany.org/<u></u>gYFMO/</a></blockquote><div><br></div><div><br></div><div>As discussed on IRC here's another way of doing the C++98/03, marked with +es. <a href="http://pastebin.geany.org/AzbMV/">http://pastebin.geany.org/AzbMV/</a></div>
<div><br></div><div>This is the method I alluded to in my response to Nick.</div><div><br></div><div>For the micro-optimisers among us, its very likely to generate the same code as the first version since the operator() call is inlined :)</div>
<div><br></div><div>Cheers</div><div>Lex</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
Cheers,<br>
Matthew Brush<div class=""><div class="h5"><br>
______________________________<u></u>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.geany.org" target="_blank">Devel@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target="_blank">https://lists.geany.org/cgi-<u></u>bin/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>