MCPcopy Create free account
hub / github.com/boostorg/asio / move_only_result_function_object

Class move_only_result_function_object

test/defer.cpp:79–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79struct 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
92void move_only_result_handler(
93 move_only_result result_in, int* count, int* result_out)

Callers 1

defer_function_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected