| 43 | |
| 44 | template<class View> |
| 45 | forceinline void |
| 46 | Prop<View>::add(Space& home, ValSet& vs, ViewArray<View>& x) { |
| 47 | int n=x.size(); |
| 48 | for (int i=n; i--; ) |
| 49 | if (x[i].assigned()) { |
| 50 | vs.add(home, x[i].val()); |
| 51 | x[i] = x[--n]; |
| 52 | } |
| 53 | x.size(n); |
| 54 | } |
| 55 | |
| 56 | template<class View> |
| 57 | forceinline void |