MCPcopy Create free account
hub / github.com/davisking/dlib / tovect1

Function tovect1

dlib/test/matrix4.cpp:975–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973
974 template <typename T>
975 std::vector<int> tovect1(const T& m)
976 {
977 std::vector<int> temp;
978 for (typename T::const_iterator i = m.begin(); i != m.end(); ++i)
979 {
980 temp.push_back(*i);
981 }
982 return temp;
983 }
984
985 template <typename T>
986 std::vector<int> tovect2(const T& m)

Callers 1

test_iteratorsFunction · 0.85

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected