Check if \a i is a member of set \a x
| 56 | |
| 57 | /// Check if \a i is a member of set \a x |
| 58 | bool in(int i, int x) const { |
| 59 | CountableSetRanges xr(ds,x); |
| 60 | Iter::Ranges::Singleton ir(i,i); |
| 61 | return Iter::Ranges::subset(ir,xr); |
| 62 | } |
| 63 | |
| 64 | public: |
| 65 | /// Create and register test |