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

Function tovect2

dlib/test/matrix4.cpp:986–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984
985 template <typename T>
986 std::vector<int> tovect2(const T& m)
987 {
988 std::vector<int> temp;
989 for (typename T::const_iterator i = m.begin(); i != m.end(); i++)
990 {
991 temp.push_back(*i);
992 }
993 return temp;
994 }
995
996 template <typename T>
997 std::vector<int> tovect3(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