pos为你定义的一个变量 类型为size_type 而这个类型属于string的,::指的是 后者属于前者的范畴
string::size_type pos定义一个POS变量 类型为string::size_type
::作用域啊,这里应该表示类string里的size_type