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

Function function_with_input_output_params

test/timed_test.cpp:180–184  ·  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

178// The test below asserts that variadic arguments containing modifiable references are correctly forwarded
179//
180bool function_with_input_output_params(int input1, int& output2)
181{
182 output2 = input1 + 1;
183 return true;
184}
185void void_function_with_input_output_params(int input1, int& output2)
186{
187 output2 = input1 + 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected