MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / plus

Function plus

Exercises/NoModules/Chapter 10/Soln10_03.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9template <typename T>
10T plus(const T& a, const T& b)
11{
12 return a + b;
13}
14
15// Overload with another template for pointer types
16template <typename T>

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected