MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / function_with_input_output_params

Function function_with_input_output_params

test/benchmark_session_test.cpp:165–169  ·  view source on GitHub ↗

The test below asserts that variadic arguments containing modifiable references are correctly forwarded

Source from the content-addressed store, hash-verified

163// The test below asserts that variadic arguments containing modifiable references are correctly forwarded
164//
165bool function_with_input_output_params(int input1, int& output2)
166{
167 output2 = input1 + 1;
168 return true;
169}
170void void_function_with_input_output_params(int input1, int& output2)
171{
172 output2 = input1 + 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected