summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-04 20:57:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-05 03:22:53 +0200
commit34ebdd1ef3c7dd5883db899f2496882c5826ceea (patch)
tree0bc8283501f3f30f03977c2dc5874a916b2eeb1e
parent954f6a2c70ba0af3bd2bcdafee6109f95d2190db (diff)
add comment
-rw-r--r--src/timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.cpp b/src/timer.cpp
index 57442018..c03c61d6 100644
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -18,7 +18,7 @@ using Millis = duration<unsigned, std::milli>;
namespace {
-template<typename T> struct array_size_;
+template<typename T> struct array_size_; // todo! move to compat, replace usages of arraySize & std::size_t
template<typename T, size_t N> struct array_size_<T(&)[N]> : std::integral_constant<size_t, N> {};
template<typename T, size_t N> struct array_size_<std::array<T, N>> : std::integral_constant<size_t, N> {};
template<typename T> constexpr inline auto array_size = array_size_<T>::value;