Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

全局换行符 - Boost C++ 函数库
PrevUpHomeNext

全局换行符

boost::parser::eol

提要

// In header: <boost/parser/parser.hpp>

parser_interface< ws_parser< true, false > > eol;

描述

行尾解析器。它匹配 "\r\n",或者 Unicode 换行算法中任何一个换行代码点,详见 https://unicode.org/reports/tr14。不产生任何属性。


PrevUpHomeNext