MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / compare

Function compare

base_code/template.cpp:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10/*************** 函数模板 ***************/
11template<typename T>
12bool compare(T a, T b)
13{
14 cout << "template compare" << endl;
15 return a > b;
16}
17
18// 模板特例化
19template<>

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected