[...]


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/


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@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel