8template <
typename T,
size_t N>
14template <
typename T,
size_t N>
20template <
typename Container>
21constexpr auto begin(Container& c) ->
decltype(c.begin()) {
26template <
typename Container>
27constexpr auto begin(
const Container& c) ->
decltype(c.begin()) {
32template <
typename Container>
33constexpr auto end(Container& c) ->
decltype(c.end()) {
38template <
typename Container>
39constexpr auto end(
const Container& c) ->
decltype(c.end()) {
A fixed-size array implementation similar to std::array.
constexpr T * begin(T(&array)[N]) noexcept
constexpr T * end(T(&array)[N]) noexcept
Implements a simple red square effect for 2D LED grids.