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

2013-09-05 Thread Lex Trotman
[...] Hi Nick, Still somewhat noisy IMO. How about this, C++98 (I think): > > #include > #define FOREACH BOOST_FOREACH > > FOREACH(Document &doc, win.documents()) > { > // do stuff with each document > } > > Frankly if you want to limit the parts of standard C++ that are used, the last thing

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

2013-09-05 Thread Nick Treleaven
On 01/09/2013 03:53, Matthew Brush wrote: On 13-08-31 07:42 PM, Lex Trotman wrote: 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/