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

Function Print

STL/list.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7template<class T>
8void Print(const list<T>& my)
9{
10 typename list<T>::const_iterator it = my.begin();
11 for (; it != my.end(); it++) {
12 cout << *it << ' ';
13 }
14 cout << endl;
15}
16
17void Print_f(forward_list<int>& test)
18{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected