If the types can be declared before the function returns, then std::tie can be employed to unpack a tuple into existing variables: int add, sub, mul, div; ...
確定! 回上一頁