Ticket #11877: main.cpp
| File main.cpp, 424 bytes (added by , 7 years ago) |
|---|
| Line | |
|---|---|
| 1 | |
| 2 | #include <boost/fusion/include/join.hpp> |
| 3 | #include <boost/fusion/include/at_c.hpp> |
| 4 | #include <boost/fusion/include/vector.hpp> |
| 5 | #include <boost/fusion/include/make_vector.hpp> |
| 6 | #include <cassert> |
| 7 | |
| 8 | int main(int ac, char **av) |
| 9 | { |
| 10 | namespace fusion = boost::fusion; |
| 11 | fusion::vector<int, char> v1(1, 'a'); |
| 12 | fusion::vector<int, char> v2(2, 'b'); |
| 13 | auto v3 = fusion::join(v1, v2); |
| 14 | auto arg = fusion::at_c<1>(v3); |
| 15 | |
| 16 | } |
