npos在 c++中表示一个常数,表示不存在的位置,类型一般是std::container_type::size_type。
其值一般为-1.
c++中的npos用法
猜你喜欢
转载自blog.csdn.net/serena_t/article/details/89887881
今日推荐
周排行