| 87 | struct LoopBody { |
| 88 | struct Callback { |
| 89 | Result<ControlFlow<>> operator()(const T& next) { |
| 90 | if (IsIterationEnd(next)) { |
| 91 | return Break(); |
| 92 | } else { |
| 93 | auto visited = visitor(next); |
| 94 | if (visited.ok()) { |
| 95 | return Continue(); |
| 96 | } else { |
| 97 | return visited; |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | Visitor visitor; |
| 103 | }; |
nothing calls this directly
no test coverage detected