summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-26 15:30:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-26 15:30:15 +0200
commit82ab34aa83463179339eb8382edf1c22cacdad61 (patch)
tree3d02aaa7458a4f00e38527c7cfe0f8559398b5d5 /compat
parentc3bebd8c3263d67f3b66cab7437bc24f5ea724c8 (diff)
use array_size instead of std::size/arraySize
Diffstat (limited to 'compat')
-rw-r--r--compat/array-size.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/array-size.hpp b/compat/array-size.hpp
index ca545898..15eb66ab 100644
--- a/compat/array-size.hpp
+++ b/compat/array-size.hpp
@@ -3,7 +3,7 @@
namespace floormat::detail {
-template<typename T> struct array_size_; // todo! replace usages of arraySize & std::size
+template<typename T> struct array_size_;
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_<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> {};