const_container/include/helper.h

18 lines
283 B
C++

//
// Created by Patrick Maschek on 24.12.2023.
//
#ifndef UDIFF_HELPER_H_
#define UDIFF_HELPER_H_
#include <cstddef>
namespace cc::helper {
template<typename T, std::size_t N>
constexpr std::size_t array_size(const T(&)[N]) { return N; }
}; // cc
#endif //UDIFF_HELPER_H_