top | item 10827688

(no title)

bobmoretti | 10 years ago

The std::tie function can also solve this problem in most situations, if you are stuck with C++ 11.

discuss

order

cbsmith|10 years ago

Not really. You don't get the names of your fields from std::tie.

std::tie is more of a way to map non-named tuples to and from other data structures.