string::clear()
Moderator: Board moderators
string::clear()
why does judge for string::clear() gives CE(forced to use string::erase() which is more expensive(?))? Should i include more than <string>? Is size_t same as string::size_type used for string::npos?
-
- Guru
- Posts: 1080
- Joined: Thu Dec 19, 2002 7:37 pm