std::find in C++20 can use ranges, which is equivalent here. Less error prone. Namespace is properly to avoid any conflicts with std::find or others Signed-off-by: Rosen Penev <rosenp@gmail.com>