msgid ""
msgstr ""
"Project-Id-Version: Chinese (Simplified Han script) (Boost Json Translation "
"(zh_Hans))\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-06 13:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese (Simplified Han script) <https://"
"insights.cppalliance.org/weblate/projects/boost-json-documentation-zh_Hans/"
"doc-pages-allocators-uses-allocator-adoc/zh_Hans/>\n"
"Language: zh_Hans\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 2026.5\n"

#: :12
#, safe-html, strict-same
msgid ""
"= Uses-allocator Construction To support code bases which are already using "
"polymorphic allocators, the containers in this library support "
"{std_uses_allocator} construction. For <<ref_array>>, <<ref_object>>, "
"<<ref_string>>, and <<ref_value>>:"
msgstr ""
"= 使用分配器构造 为支持已使用多态分配器的代码库，本库中的容器支持 "
"{std_uses_allocator} 构造。对于 &lt;<ref_array>&gt;, &lt;<ref_object>&gt;, "
"&lt;<ref_string>&gt; 和 &lt;<ref_value>&gt;：</ref_value></ref_string></"
"ref_object></ref_array>"

#: :17
#, safe-html, strict-same
msgid "The nested type `allocator_type` is an alias for"
msgstr "嵌套类型 `allocator_type` 是"

#: :18
#, safe-html, strict-same
msgid "a {ref_polymorphic_allocator}."
msgstr "{ref_polymorphic_allocator}的别名。"

#: :20
#, safe-html, strict-same
msgid ""
"All eligible constructors which accept <<ref_storage_ptr>> will also accept"
msgstr "所有接受 &lt;<ref_storage_ptr>&gt; 的合格构造函数，也将</ref_storage_ptr>"

#: :21
#, safe-html, strict-same
msgid ""
"an instance of {ref_polymorphic_allocator} in the same argument position."
msgstr "在相同参数位置接受一个 {ref_polymorphic_allocator} 实例。"

#: :23
#, safe-html, strict-same
msgid "The member function `get_allocator` returns an instance of"
msgstr "成员函数 `get_allocator` 返回一个"

#: :24
#, safe-html, strict-same
msgid ""
"{ref_polymorphic_allocator} constructed from the {ref_memory_resource} used "
"by the container. Ownership of this memory resource is not transferred."
msgstr ""
"由容器所使用的 {ref_memory_resource} 构造的 {ref_polymorphic_allocator} 实例"
"。该内存资源的所有权不会被转移。"

#: :27
#, safe-html, strict-same
msgid ""
"Practically, this means that when a library container type is used in a "
"standard container that uses a polymorphic allocator, the allocator will "
"propagate to the JSON type. For example:"
msgstr ""
"实际上，这意味着当库中的容器类型被用在使用多态分配器的标准容器中时，该分配器"
"会传播到 JSON 类型。例如："

#: :36
#, safe-html, strict-same
msgid "Library containers can be constructed from polymorphic allocators:"
msgstr "库容器可以从多态分配器构造："

#: :43
#, safe-html, strict-same
msgid ""
"The polymorphic allocator is propagated recursively. Child elements of child "
"elements will use the same memory resource as the parent."
msgstr "多态分配器会递归传播。子元素的子元素将使用与父元素相同的内存资源。"
