Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ sortedVector
Function
sortedVector
01.42-printSorted1/main.cpp:24–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
void sortedVector()
25
{
26
std::vector<int> v{30, 4, 22, 5};
27
28
PrintSorted(v);
29
}
30
31
template<typename T>
32
concept HasSortMethod = requires(T t) { t.sort(); };
Callers
1
main
Function · 0.70
Calls
1
PrintSorted
Function · 0.70
Tested by
no test coverage detected