Original link: Returning several values from a function in C++ (C++23 edition) / Daniel Lemire blog.
I am way behind with modern C++. :-(