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

Function add

01.38-isSameConcept3/main.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// #A Inverting IsSame with not
17 requires(not IsSame<T, U>)
18auto add(const T& t, const U& u)
19{
20 return t + u;
21}
22
23template<typename T, typename U>
24// #B Inverting IsSame with not

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected