| 43 | /// Return whether view \a x takes value \a s |
| 44 | template<class View> |
| 45 | forceinline TakesStatus |
| 46 | takes(const View& x, int s) { |
| 47 | if (x.in(s)) |
| 48 | return x.assigned() ? TS_YES : TS_MAYBE; |
| 49 | else |
| 50 | return TS_NO; |
| 51 | } |
| 52 | /// Return whether view \a x takes value from \a s |
| 53 | template<class View> |
| 54 | forceinline TakesStatus |