| 151 | }; |
| 152 | |
| 153 | struct report_destructor |
| 154 | { |
| 155 | report_destructor() : output{nullptr}{} |
| 156 | report_destructor(bool* b) : output{b}{} |
| 157 | report_destructor(const report_destructor&) = default; |
| 158 | report_destructor(report_destructor&&) = default; |
| 159 | |
| 160 | auto operator=(const report_destructor&) -> report_destructor& = default; |
| 161 | auto operator=(report_destructor&&) -> report_destructor& = default; |
| 162 | |
| 163 | ~report_destructor() { |
| 164 | *output = true; |
| 165 | } |
| 166 | bool* output; |
| 167 | }; |
| 168 | |
| 169 | struct base |
| 170 | { |
nothing calls this directly
no outgoing calls
no test coverage detected