| 77 | } |
| 78 | |
| 79 | struct move_only_result_function_object |
| 80 | { |
| 81 | move_only_result_function_object() = default; |
| 82 | move_only_result_function_object( |
| 83 | move_only_result_function_object&&) = default; |
| 84 | |
| 85 | move_only_result operator()() && |
| 86 | { |
| 87 | ++function_count; |
| 88 | return move_only_result(42); |
| 89 | } |
| 90 | }; |
| 91 | |
| 92 | void move_only_result_handler( |
| 93 | move_only_result result_in, int* count, int* result_out) |
no outgoing calls
no test coverage detected