On Thu, Feb 20, 2003 at 01:00:46PM +0100, Alfredo Braunstein wrote: > > swap(a, b); > > Thanks!
And now the official explanation: list, vector and deque are containers which have to satisfy the 'container requirements' (including swap member). stack and queue are container adaptors which do not have to satisfy the 'container requirements'. So my initial response was wrong. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)