For example:
unsigned char npos = -1;is valid a valid statement.
std::string::npos could be a different type, such as int. It depends on the compiler.
Reference: The C++ Standard Library: A Tutorial and Reference
unsigned char npos = -1;is valid a valid statement.
No comments:
Post a Comment