Structured binding to access multiple return values
In C++ quite often you may want to return multiple values from a function and access it afterward. Here are few options for how things were done before C++ 17 structured binding was introduced.
Let's say we have a function like this...