[Geany-Devel] Let's move to C++98 - Re: Lets move to C99

Lex Trotman elextr at xxxxx
Sun Sep 1 02:42:42 UTC 2013


[...]

>
>>
> 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).
>
> http://pastebin.geany.org/**gYFMO/ <http://pastebin.geany.org/gYFMO/>



As discussed on IRC here's another way of doing the C++98/03, marked with
+es. http://pastebin.geany.org/AzbMV/

This is the method I alluded to in my response to Nick.

For the micro-optimisers among us, its very likely to generate the same
code as the first version since the operator() call is inlined :)

Cheers
Lex


>
> Cheers,
> Matthew Brush
>
> ______________________________**_________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-**bin/mailman/listinfo/devel<https://lists.geany.org/cgi-bin/mailman/listinfo/devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20130901/9461a622/attachment.html>


More information about the Devel mailing list