I just noticed this one, can be used like:

std::pair<string, int> func()
{
...
}

string a;
int b;

tie(a, b) = func();

instead of:

pair<string, int> tmp = func();
a = tmp.first;
b = tmp.second;

we have this in boost/utility.hpp in LyX. Use it where it fits...

        Lgb

Reply via email to