In the code snippet below, what is the meaning of string::npos?
string e_acute = u8"U000000e9";
string high_speed_train = u8"U000lf684";
string message = "San Jose";
size_t pos = message.find(e_acute);
if (pos != string::npos)
cout << "Do you know the way?" << endl;
No position
Non-negative position
It is a typo for pos and does not have a meaning as typed.
Non-positive position