| 1174 | // Iterator used to abort the actual output. |
| 1175 | struct throwing_iterator { |
| 1176 | auto operator=(char) -> throwing_iterator& { |
| 1177 | throw std::runtime_error("aborted"); |
| 1178 | return *this; |
| 1179 | } |
| 1180 | auto operator*() -> throwing_iterator& { return *this; } |
| 1181 | auto operator++() -> throwing_iterator& { return *this; } |
| 1182 | auto operator++(int) -> throwing_iterator { return *this; } |
nothing calls this directly
no outgoing calls
no test coverage detected