Searched refs:mySet (Results 1 – 2 of 2) sorted by relevance
74 MyIntervalSet mySet; in custom_interval() local75 mySet += MyInterval(1,9); in custom_interval()76 cout << mySet << endl; in custom_interval()77 mySet.subtract(3) -= 6; in custom_interval()78 cout << mySet << " subtracted 3 and 6\n"; in custom_interval()79 mySet ^= MyInterval(2,8); in custom_interval()80 cout << mySet << " flipped between 2 and 7\n"; in custom_interval()
97 interval_set<int> mySet;98 mySet.insert(42);99 bool has_answer = contains(mySet, 42);