Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
template<typename T, typename U>
13
requires IsSame<T, U>
14
auto add(const T& t, const U& u)
15
{
16
return t + u;
17
}
18
19
template<typename T, typename U>
20
requires IsSame<T, U> and AlwaysTrue<T>
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected