News for hackers. Stuff that matters.
Re:Returning multiple values from functions in C++ by masklinn on Monday March 07, 2016 @09:18AM (#11238949)
It's funny, your comment uses "true MRV" for language-level special-casing by opposition to a matched (or even just python-style unpacked) data-structure, whereas I've always thought the latter was "true MRV".

Either way, we do agree on MRV being a language-level special case being a hack. Even PHP isn't that bad — though the unpacking is macro-ish bleh.

Re:Returning multiple values from functions in C++ by junke on Monday March 07, 2016 @09:43AM (#11239119)
If you wrap your data in a list or a tuple, it is still a single value. It makes sense to talk about true MRV in languages that support it, like Ada, Forth and others... (https://rosettacode.org/wiki/Return_multiple_values)
Re:Returning multiple values from functions in C++ by qwertyuiop924 on Monday March 07, 2016 @01:41PM (#11240610)
Exactly.