Home
last modified time | relevance | path

Searched refs:MyInterval (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/libs/icl/example/custom_interval_/
Dcustom_interval.cpp30 class MyInterval class
33 MyInterval(): _first(), _past(){} in MyInterval() function in MyInterval
34 MyInterval(int lo, int up): _first(lo), _past(up){} in MyInterval() function in MyInterval
45 struct interval_traits< MyInterval > //1. Partially specialize interval_traits for
48 typedef MyInterval interval_type; //2.1 MyInterval will be the interval_type
62 struct interval_bound_type<MyInterval> //4. Finally we define the interval borders.
73 typedef interval_set<int, std::less, MyInterval> MyIntervalSet; in custom_interval()
75 mySet += MyInterval(1,9); in custom_interval()
79 mySet ^= MyInterval(2,8); in custom_interval()