Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #6131
Ticket #6131
: foreachtest.cpp
File foreachtest.cpp,
174 bytes
(added by
loonycyborg
,
11 years ago
)
Test case.
Line
1
#include
<boost/foreach.hpp>
2
3
#define foreach BOOST_FOREACH
4
5
#include
<boost/graph/adjacency_list.hpp>
6
7
int
main
()
8
{
9
std
::
vector
<
int
>
foo
;
10
foreach
(
int
&
x
,
foo
)
11
x
+=
1
;
12
}
Download in other formats:
Original Format