Boost::Tuples vs Structs for return values
tuples I think i agree with you that the issue with what position corresponds to what variable can introduce confusion. But i think there are two sides. One is the call-side and the other is the callee-side: int remainder; int quotient; tie(quotient, remainder) = div(10, 3); I think it’s crystal clear what we got, but … Read more