...世界上最受推崇和设计精良的 C++ 库项目之一。 — Herb Sutter 和 Andrei Alexandrescu,《C++ 编码规范
...世界上最受推崇和设计精良的 C++ 库项目之一。
boost::date_time::convert_to_lower — 一个用于替代 std::transform( , , ,tolower) 结构的函数。
// In header: <boost/date_time/date_parsing.hpp> std::string convert_to_lower(std::string inp);
此函数简单地接收一个字符串,并将该字符串中的所有字符转换为小写(根据默认系统区域设置)。如果编译器不支持区域设置,则使用旧式的 C 风格 tolower() 函数。