| std::array< Type, rank+1 > syten::insertDummy | ( | std::array< Type, rank > const & | a, |
| std::size_t | position, | ||
| typename IdentityType< Type >::type | val | ||
| ) |
Copies a with val at 1-indexed position position.
| a | input array |
| position | place at which to insert the new value |
| val | new value |
[2, 3, 4, 5], 2, 15 → [2, 15, 3, 4, 5]
References rank(), and SYTEN_ASSERT_DEBUG.
Here is the call graph for this function: