Ticket #9624: test_adl.cc
| File test_adl.cc, 344 bytes (added by , 9 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include <tuple> |
| 2 | #include <boost/icl/interval_set.hpp> |
| 3 | |
| 4 | int main() |
| 5 | { |
| 6 | typedef boost::icl::interval_set<int> interval_type; |
| 7 | typedef std::tuple<interval_type> tuple_type; |
| 8 | |
| 9 | tuple_type x(interval_type(boost::icl::interval<int>::closed(0, 5))); |
| 10 | tuple_type y(interval_type(boost::icl::interval<int>::closed(0, 5))); |
| 11 | |
| 12 | x.swap(y); |
| 13 | } |
| 14 |
