Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
After default construction, or after <<ref_stream_parser_reset>> is called with no arguments, the <<ref_value>> produced after a successful parse operation uses the default memory resource. To use a different memory resource, call `reset` with the resource to use. Here we use a <<ref_monotonic_resource>>, which is optimized for parsing but not subsequent modification:在默认构造之后,或在无参调用 <<ref_stream_parser_reset>> 之后,成功解析操作所生成的 <<ref_value>> 将使用默认内存资源。若要使用不同的内存资源,可调用 `reset`并传入目标资源。以下示例使用了 <<ref_monotonic_resource>>,该资源针对解析进行了优化,但不适合后续修改</ref_monotonic_resource></ref_value></ref_stream_parser_reset>