@fikran Just return a struct. C++ has meta structs called tuples that are more flexible, and type deduction and structured binding for convenience.
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.