* Test sharing between Boolean and negated Boolean views * */
| 38 | * |
| 39 | */ |
| 40 | forceinline BoolTest |
| 41 | bool_test(const BoolView& b0, const BoolView& b1) { |
| 42 | return (b0 == b1) ? BT_SAME : BT_NONE; |
| 43 | } |
| 44 | forceinline BoolTest |
| 45 | bool_test(const BoolView& b0, const NegBoolView& b1) { |
| 46 | return (b0 == b1.base()) ? BT_COMP : BT_NONE; |