5 Oct
2011
5 Oct
'11
7:07 p.m.
Krzysztof Żelechowski wrote:
How come a tuple, being a generalisation of a pair, cannot be constructed from one?
I mean something along the lines
make_tuple (pair const &p) { return make_tuple (p.first, p_second); }
Would be good to have.
It turns out that TR1 supports constructing a tuple directly from a pair, so Boost should catch up. IMHO, Chris