From this code:
#include <iostream>
#include <typeinfo>
#include <string>
int main() {
    std::string const s = "Thisisastring";
    std::string const ss = "Thisisastringg";
    std::string const sss = "Thisisastrin";
    auto p = ss.find(s);
    std::cout << "p:" << typeid(p).name() << "\np =" << p << std::endl;
    auto pp = sss.find(s);
    std::cout << "pp:" << typeid(pp).name() << "\npp =" << pp << std::endl;
    return 0;
}
I get the following output:
p:m
p =0
pp:m
pp =18446744073709551615
Questions:
From this link,
pshould have the typesize_typeagainstm?What does the value of
ppmeans? An overflow?