Subj : Re: STL stack.pop() question To : borland.public.cpp.borlandcpp From : KonZa Date : Wed Jun 30 2004 08:38 pm On Tue, 29 Jun 2004 18:39:21 +0200, Thomas Maeder [TeamB] wrote: > The initialization of i takes a reference to employee as its argument. > This means that the employee copy constructor will be used to initialize > i. so if the employee class doesn't has a copy constructor neither &= operator overloaded bad things could happend. so this is solved either using a copy constructor or the &= oeprator overloading right? thanks in advance -- [Tío konZa] .