$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jaakko Järvi (jaakko.jarvi_at_[hidden])
Date: 2000-03-13 02:14:57
kevin atkinson <kevinat-_at_[hidden]> wrote:
original article:http://www.egroups.com/group/boost/?start=2541
>
> I assume your tie will work with the standard library pair....
>
Yes, for example:
pair<string, int> foo() { return make_pair(string("Number"), 1); }
...
string s; int i;
tie(s, i) = foo()
cout << s << " " << i;
outputs: Number 1
/Jaakko Järvi