| 103 | |
| 104 | template <typename T> |
| 105 | void print_vector(T* ptr, size_t size) { |
| 106 | std::ostringstream oss; |
| 107 | for (size_t i = 0; i < size; ++i) { |
| 108 | oss << ptr[i] << " "; |
| 109 | } |
| 110 | INFO("vector content: {}", oss.str().c_str()); |
| 111 | } |
| 112 | |
| 113 | template void print_vector<float>(float* ptr, size_t size); |
| 114 | template void print_vector<double>(double* ptr, size_t size); |
nothing calls this directly
no outgoing calls
no test coverage detected