#include #include int main() { typedef boost::icl::interval_set interval_type; typedef std::tuple tuple_type; tuple_type x(interval_type(boost::icl::interval::closed(0, 5))); tuple_type y(interval_type(boost::icl::interval::closed(0, 5))); x.swap(y); }