View Single Post
  #6  
Old 07-17-2003, 10:11 AM
alkrun
Sarnak
 
Join Date: Jan 2002
Posts: 66
Default

clear() removes all elements, empty() tests if the string is empty or not. So replacing one with the other will have nasty side-effects.

clear() is not something new in STL. I don't know why it's giving an error. I haven't used VC6 in a while, but I do remember that it is pretty bad about the STL templates.
Reply With Quote