MCPcopy 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
24void sortedVector()
25{
26 std::vector<int> v{30, 4, 22, 5};
27
28 PrintSorted(v);
29}
30
31template<typename T>
32concept HasSortMethod = requires(T t) { t.sort(); };

Callers 1

mainFunction · 0.70

Calls 1

PrintSortedFunction · 0.70

Tested by

no test coverage detected