remove std::distance
std::distance internally uses a loop. The compiler may or may not optimize it away. constexpr std::distance comes in C++17.
Signed-off-by: Rosen Penev rosenp@gmail.com
GitLab will be down for maintenance Monday June 03, from approx 10am UTC for roughly 48 hours. This is for a major gitlab upgrade which requires a DB migration. See the tracker issue for more informations.
std::distance internally uses a loop. The compiler may or may not optimize it away. constexpr std::distance comes in C++17.
Signed-off-by: Rosen Penev rosenp@gmail.com