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

Function print_array

tests/DCPS/MultiTopic/MultiTopicTest.cpp:246–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244
245template <typename T>
246void print_array(std::ostream& os, const T* array, size_t length)
247{
248 for (size_t i = 0; i < length; ++i) {
249 if (i) {
250 os << ", ";
251 }
252 os << array[i];
253 }
254}
255
256template <typename T>
257void print_sequence(std::ostream& os, const T& seq) {

Callers 2

expect_arrayFunction · 0.85
run_multitopic_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected