| 82 |  | return i == -1 ? NULL : stuntdoubles_[i]; | 
| 83 |  | } | 
| 84 |  |  | 
| 85 | < | StuntDouble* SelectionManager::beginUnselected(int& i) { | 
| 85 | > | StuntDouble* SelectionManager::beginUnselected(int& i){ | 
| 86 |  | i = bsSelection_.firstOffBit(); | 
| 87 |  | return i == -1 ? NULL : stuntdoubles_[i]; | 
| 88 |  | } | 
| 91 |  | return i == -1 ? NULL : stuntdoubles_[i]; | 
| 92 |  | } | 
| 93 |  |  | 
| 94 | + |  | 
| 95 | + | SelectionManager operator| (const SelectionManager& sman1, const SelectionManager& sman2) { | 
| 96 | + | SelectionManager result(sman1); | 
| 97 | + | result |= sman2; | 
| 98 | + | return result; | 
| 99 |  | } | 
| 100 | + | SelectionManager operator& (const SelectionManager& sman1, const SelectionManager& sman2) { | 
| 101 | + | SelectionManager result(sman1); | 
| 102 | + | result &= sman2; | 
| 103 | + | return result; | 
| 104 | + |  | 
| 105 | + | } | 
| 106 | + | SelectionManager operator^ (const SelectionManager& sman1, const SelectionManager& sman2) { | 
| 107 | + | SelectionManager result(sman1); | 
| 108 | + | result ^= sman2; | 
| 109 | + | return result; | 
| 110 | + |  | 
| 111 | + | } | 
| 112 | + | SelectionManager operator-(const SelectionManager& sman1, const SelectionManager& sman2){ | 
| 113 | + | SelectionManager result(sman1); | 
| 114 | + | result -= sman2; | 
| 115 | + | return result; | 
| 116 | + |  | 
| 117 | + | } | 
| 118 | + |  | 
| 119 | + | } |