MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / arrays_are_not_equal

Function arrays_are_not_equal

tests/DCPS/MultiTopic/MultiTopicTest.cpp:235–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233
234template <typename T>
235bool arrays_are_not_equal(const T* a, const T* b, size_t length)
236{
237 for (size_t i = 0; i < length; ++i) {
238 if (a[i] != b[i]) {
239 return true;
240 }
241 }
242 return false;
243}
244
245template <typename T>
246void print_array(std::ostream& os, const T* array, size_t length)

Callers 1

expect_arrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected