template< typename Type, std::size_t rank > std::array< Type, rank-1 > syten::dropDummy | ( | std::array< Type, rank > const & | a, |
std::size_t | position | ||
) |
Copies a
dropping the element at 1-indexed position position
.
a | input array |
position | element to drop out. |
[2, 3, 4, 5], 2 → [2, 4, 5]
References rank(), and SYTEN_ASSERT_DEBUG.