Multiple return values...

RivenTheMage riven-mage at id.ru
Mon Mar 12 03:20:21 PDT 2012


So, function with MRV is basically the function that returns
Tuple where one can specify return convention?

---
auto fun()
{
      return(Windows) tuple(1, 2.0f);
}

(int x, float y) = fun();
---



More information about the Digitalmars-d mailing list