Łukasz Czerwiński <milimet...@gmail.com> writes:

> On 15 April 2012 16:49, David Kastrup <d...@gnu.org> wrote:
>
>     Łukasz Czerwiński <milimet...@gmail.com> writes:
>     > I'd like to write code, that will make Lilypond better or easier
>     to be
>     > used
>     
>     
>     Not necessarily the same as "the C++ way".
>     
>
> Right :) No iterators needed here :)

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.

-- 
David Kastrup


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

Reply via email to