tie

A copy of std::tie from C++. TODO: write proper documentation for this

tie
(
T...
)
(
out T args
)

Examples

int a;
string b;
tie(a, b) = tuple(3, "hi");
assert(a == 3 && b == hi);

Meta