From 0477e2acfa50cd4a47190939836eb319dbd17eb1 Mon Sep 17 00:00:00 2001 From: lyken Date: Fri, 26 Jul 2024 12:36:40 +0800 Subject: [PATCH] core/irrt: comment arrays_match() --- nac3core/irrt/irrt/utils.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nac3core/irrt/irrt/utils.hpp b/nac3core/irrt/irrt/utils.hpp index a1707530..ea012c08 100644 --- a/nac3core/irrt/irrt/utils.hpp +++ b/nac3core/irrt/irrt/utils.hpp @@ -11,6 +11,9 @@ const T& min(const T& a, const T& b) { return a > b ? b : a; } +/** + * @brief Compare contents of two arrays with the same length. + */ template bool arrays_match(int len, T* as, T* bs) { for (int i = 0; i < len; i++) {