diff --git a/base/internal/message.hpp b/base/internal/message.hpp index 9e61de2032..969cba34aa 100644 --- a/base/internal/message.hpp +++ b/base/internal/message.hpp @@ -1,4 +1,5 @@ #pragma once +#include "std/array.hpp" #include "std/iterator.hpp" #include "std/list.hpp" #include "std/map.hpp" @@ -78,6 +79,11 @@ template inline string DebugPrint(T (&arr) [N]) return ::my::impl::DebugPrintSequence(arr, arr + N); } +template inline string DebugPrint(array const & v) +{ + return ::my::impl::DebugPrintSequence(v.begin(), v.end()); +} + template inline string DebugPrint(vector const & v) { return ::my::impl::DebugPrintSequence(v.begin(), v.end());