| 298 | |
| 299 | template <typename Value, typename Pattern, typename ConctextT> |
| 300 | constexpr auto matchPattern(Value &&value, Pattern const &pattern, |
| 301 | int32_t depth, ConctextT &context) |
| 302 | { |
| 303 | auto const result = PatternTraits<Pattern>::matchPatternImpl( |
| 304 | std::forward<Value>(value), pattern, depth, context); |
| 305 | auto const process = result ? IdProcess::kCONFIRM : IdProcess::kCANCEL; |
| 306 | processId(pattern, depth, process); |
| 307 | return result; |
| 308 | } |
| 309 | |
| 310 | template <typename Pattern, typename Func> |
| 311 | class PatternPair |
no test coverage detected