olena: olena-2.0-897-g4b106a5 milena/mln/core/concept/iterator.hh: Add for_all_5 macro.

18 Apr
2014
18 Apr
'14
11:32 a.m.
--- milena/mln/core/concept/iterator.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/milena/mln/core/concept/iterator.hh b/milena/mln/core/concept/iterator.hh index 2a82402..8e4d2f0 100644 --- a/milena/mln/core/concept/iterator.hh +++ b/milena/mln/core/concept/iterator.hh @@ -78,6 +78,11 @@ x1.is_valid(); \ x1.next(), x2.next(), x3.next()) +# define for_all_5(x1, x2, x3, x4, x5) \ + for(x1.start(), x2.start(), x3.start(), x4.start(), x5.start(); \ + x1.is_valid(); \ + x1.next(), x2.next(), x3.next(), x4.next(), x5.next()) + /* \def for_all_remaining(x) -- 1.7.10.4
4146
Age (days ago)
4146
Last active (days ago)
0 comments
1 participants
participants (1)
-
myriam robert-seidowsky