| 39 | |
| 40 | template <typename TValue, TValue (*func)(TValue, TValue)> |
| 41 | static TValue func2_proxy(TValue value) |
| 42 | { |
| 43 | // Add a 'random' offset for the second argument |
| 44 | return func(value, value + 2); |
| 45 | } |
| 46 | |
| 47 | BENCHMARK_TEMPLATE1_CAPTURE(trigonometry, sin, float, &std::sin); |
| 48 | BENCHMARK_TEMPLATE1_CAPTURE(trigonometry, cos, float, &std::cos); |
nothing calls this directly
no outgoing calls
no test coverage detected