| 26 | namespace { |
| 27 | |
| 28 | auto array_distance(std::size_t first, std::size_t second) { |
| 29 | return std::abs(static_cast<intmax_t>(first) - static_cast<intmax_t>(second)); |
| 30 | } |
| 31 | |
| 32 | auto make_neighbors_function(std::size_t size) { |
| 33 | return [=](std::size_t index) { |
nothing calls this directly
no outgoing calls
no test coverage detected