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

Function pointers_values_equal

dlib/test/serialize.cpp:406–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404
405 template<typename T>
406 bool pointers_values_equal(const unique_ptr<T>& l, const unique_ptr<T>& r)
407 {
408 return l && r ? *l == *r : l == r;
409 }
410
411 template<typename T>
412 bool pointers_values_equal(const shared_ptr<T>& l, const shared_ptr<T>& r)

Callers 2

operator==Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected