|
| template<std::size_t NA, std::size_t NB> |
| constexpr char | find_repeated (const std::array< char, NA > &a, const std::array< char, NB > &b) |
| | Find the repeated index between two name arrays.
|
| template<std::size_t NA, std::size_t NB> |
| constexpr std::size_t | count_shared (const std::array< char, NA > &a, const std::array< char, NB > &b) |
| | How many indices of a also appear in b.
|
| template<std::size_t N> |
| constexpr std::size_t | find_pos (const std::array< char, N > &arr, char c) |
| | Find the position of a character in an array.
|