MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / add

Function add

01.34-isSameConcept0/main.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12template<typename T, typename U>
13 requires IsSame<T, U>
14auto add(const T& t, const U& u)
15{
16 return t + u;
17}
18
19template<typename T, typename U>
20 requires IsSame<T, U> and AlwaysTrue<T>

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected