Graham Percival <gra...@percival-music.ca> writes:

> On Sun, Apr 15, 2012 at 05:16:07PM +0200, David Kastrup wrote:
>> Actually, with option -std=c++0x GCC would accept
>> 
>> for (Direction d : { UP, DOWN })
>> {
>>    ...
>> }
>> 
>> and that would be readable enough without having to revert to macros.
>
> I like that solution, but I'm iffy about relying on compiler
> support for elements of languages that are less than 10 years old.

I was not suggesting we use it.  I just pointed out that in future for
_some_ things "the C++ way" could become less incompatible with
"readable".

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to