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