Thanks for this.  I'm beginning to understand a bit more.  Just to
clarify (if you will), I notice that the original program that raised
this issue had an #include <iostream> at the top because the student
was using cout.  If I remove that line, then the swap function becomes
unrecognized.  So for some reason, iostream is prototyping swap either
directly or indirectly.  Do you happen to know why iostream needs swap?
 I think I can save face with my class by blaming it on iostream. :-)
Thanks for your help.

_______________________________________________
Help-gplusplus mailing list
Help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to