On Thu, Feb 20, 2003 at 12:36:31PM +0100, Alfredo Braunstein wrote:
> int main (int, char **)
> {
>         queue<int> a;
>         queue<int> b;
>         a.swap(b);

Hm.

        swap(a, b);

should do the trick nevertheless.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to