最佳答案
我注意到,在我的 SGI STL 引用的副本中,有一个关于字符特征的页面,但我不能看到这些是如何使用的?它们是否替换了 string.h 函数?它们似乎不被 std::string
使用,例如 std::string
上的 length()
方法不使用字符特征 length()
方法。为什么性格特质会存在,它们在实践中被使用过吗?