core/irrt: comment arrays_match()
This commit is contained in:
parent
bf0dcf325e
commit
0477e2acfa
@ -11,6 +11,9 @@ const T& min(const T& a, const T& b) {
|
|||||||
return a > b ? b : a;
|
return a > b ? b : a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Compare contents of two arrays with the same length.
|
||||||
|
*/
|
||||||
template <typename T>
|
template <typename T>
|
||||||
bool arrays_match(int len, T* as, T* bs) {
|
bool arrays_match(int len, T* as, T* bs) {
|
||||||
for (int i = 0; i < len; i++) {
|
for (int i = 0; i < len; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user