65,185
社区成员




//The type is a synonym for the template parameter Type.
typedef Type value_type; //这里 Type 是个模板参数
size_type find(
value_type _Ch,
size_type _Off = 0
) const;
size_type find(
const value_type* _Ptr,
size_type _Off = 0
) const;
size_type find(const _E *_S, size_type _P = 0) const
{return (find(_S, _P, _Tr::length(_S))); }
size_type find(_E _C, size_type _P = 0) const
{return (find((const _E *)&_C, _P, 1)); }
typedef char _E;
template<class _E, class _Tr = char_traits<_E>, class _A = allocator<_E> >
class basic_string
{
//这里略。。。
};