| 1209 | |
| 1210 | template <typename Value> |
| 1211 | constexpr auto |
| 1212 | matchValue(Value &&v) const |
| 1213 | { |
| 1214 | if (hasValue()) |
| 1215 | { |
| 1216 | return IdTraits<Type>::equal(internalValue(), v); |
| 1217 | } |
| 1218 | IdUtil::bindValue(block().variant(), std::forward<Value>(v), |
| 1219 | StorePointer<Type, Value>{}); |
| 1220 | return true; |
| 1221 | } |
| 1222 | constexpr void reset(int32_t depth) const { return block().reset(depth); } |
| 1223 | constexpr void confirm(int32_t depth) const { return block().confirm(depth); } |
| 1224 | constexpr bool hasValue() const { return block().hasValue(); } |
no outgoing calls
no test coverage detected