<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.1" version="1.1">
  <file original="NoName" source-language="en" datatype="plaintext" target-language="zh_Hans">
    <body>
      <trans-unit xml:space="preserve" approved="no" id="27609f542a407cfc" weblate-flags="safe-html, strict-same">
        <source>= `object` A &lt;&lt;ref_value&gt;&gt; stores an instance of &lt;&lt;ref_object&gt;&gt; as the underlying representation for a JSON object. Instances of the &lt;&lt;ref_object&gt;&gt; type are associative containers holding key and value pairs, where the key is a &lt;&lt;ref_string_view&gt;&gt; and the mapped type is a &lt;&lt;ref_value&gt;&gt;. These containers are modelled after standard maps with these properties:</source>
        <target state="translated">= `object` &amp;lt;&lt;ref_value&gt;&amp;gt; 使用 &amp;lt;&lt;ref_object&gt;&amp;gt; 的实例作为 JSON 对象的底层表示。&amp;lt;&lt;ref_object&gt;&amp;gt; 类型的实例是一种关联容器，存储键值对，其中键为 &amp;lt;&lt;ref_string_view&gt;&amp;gt;，映射的值类型为 &amp;lt;&lt;ref_value&gt;&amp;gt;。此类容器以标准映射（map）为模型，具有以下特性：&lt;/ref_value&gt;&lt;/ref_string_view&gt;&lt;/ref_object&gt;&lt;/ref_object&gt;&lt;/ref_value&gt;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">12</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="e8ae828ca8417c6b" weblate-flags="safe-html, strict-same">
        <source>The elements are stored contiguously as instances of &lt;&lt;ref_key_value_pair&gt;&gt;.</source>
        <target state="translated">元素以 &amp;lt;&lt;ref_key_value_pair&gt;&amp;gt; 的实例形式连续存储。&lt;/ref_key_value_pair&gt;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">19</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="31c5f22a638fbb1e" weblate-flags="safe-html, strict-same">
        <source>Iterators are ordinary pointers, and may become invalidated on insertions</source>
        <target state="translated">迭代器是普通指针，在插入或删除操作时可能会失效。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">21</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="41550d96b6f03672" weblate-flags="safe-html, strict-same">
        <source>and removals.</source>
        <target state="translated">（删除）</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">22</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="398f1263fc563cf1" weblate-flags="safe-html, strict-same">
        <source>The order of insertions is preserved, as long as there are no removals.</source>
        <target state="translated">只要不发生删除操作，插入顺序即被保留。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">24</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="ff8258a147c4a091" weblate-flags="safe-html, strict-same">
        <source>All inserted values will use the same {ref_memory_resource} as the container</source>
        <target state="translated">所有插入的值将使用与容器本身相同的 {ref_memory_resource}。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">26</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="8dcdd84b3cc4b49d" weblate-flags="safe-html, strict-same">
        <source>itself.</source>
        <target state="translated">（容器本身）</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">27</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="a84510e71255fde6" weblate-flags="safe-html, strict-same">
        <source>An empty object may be constructed without incurring any memory allocations using the &lt;&lt;default_memory_resource,default memory resource&gt;&gt;. A &lt;&lt;ref_storage_ptr&gt;&gt; can also be explicitly specified:</source>
        <target state="translated">可以使用&amp;lt;&lt;default_memory_resource,default memory="" resource=""&gt;&amp;gt;来构造一个空对象，而无需进行任何内存分配。也可以显式指定一个&amp;lt;&lt;ref_storage_ptr&gt;&amp;gt;：&lt;/ref_storage_ptr&gt;&lt;/default_memory_resource,default&gt;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">29</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="2f28072c61127534" weblate-flags="safe-html, strict-same">
        <source>Initializer lists consisting of two-element key value pairs can be used to construct objects with initial contents. These constructors may allocate memory and throw:</source>
        <target state="translated">由两元素键值对组成的初始化列表可用于构造带有初始内容的对象。这些构造函数可能会分配内存并抛出异常：</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">38</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="0f4e6cab57f4cbd6" weblate-flags="safe-html, strict-same">
        <source>Alternatively, elements may be inserted after construction:</source>
        <target state="translated">或或者，也可以在构造之后插入元素：</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">47</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="769451f00dc2d3f0" weblate-flags="safe-html, strict-same">
        <source>Similar to the `std` counterpart, elements may be accessed directly by their key with bounds checking using &lt;&lt;ref_object_at&gt;&gt;, or without bounds checking using &lt;&lt;ref_object_operator_lb_rb&gt;&gt; which creates a null element if the key does not already exist:</source>
        <target state="translated">与 `std` 对应容器类似，可通过 &amp;lt;&lt;ref_object_at&gt;&amp;gt; 使用边界检查直接按键访问元素，或通过 &amp;lt;&lt;ref_object_operator_lb_rb&gt;&amp;gt; 进行无边界检查访问（若键不存在则创建空元素）：&lt;/ref_object_operator_lb_rb&gt;&lt;/ref_object_at&gt;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">54</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="549821138e9d3f86" weblate-flags="safe-html, strict-same">
        <source>Internally, the container computes a hash table over the keys so that the complexity of lookups is in constant time, on average.</source>
        <target state="translated">在内部，该容器会对键值进行哈希处理，从而使得查找操作的复杂度平均保持在恒定时间内。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">64</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="d5e6812c3fc75bd6" weblate-flags="safe-html, strict-same">
        <source>For the complete listing of all available member functions and nested types, see the reference page for &lt;&lt;ref_object&gt;&gt;.</source>
        <target state="translated">要查看所有可用成员函数和嵌套类型的完整列表，请参阅 &amp;lt;&lt;ref_object&gt;&amp;gt; 的参考页面。&lt;/ref_object&gt;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">83</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="16d4bfa3fa03aa70" weblate-flags="safe-html, strict-same">
        <source>As with `std::pair`, the &lt;&lt;ref_key_value_pair&gt;&gt; type can be used with structured bindings in {cpp}17. Specializations of `std::tuple_size`, `std::tuple_element`, and overloads of &lt;&lt;ref_get&gt;&gt; are all provided for this purpose.</source>
        <target state="translated">与 `std::pair` 类似，&amp;lt;&lt;ref_key_value_pair&gt;&amp;gt; 类型可用于 {cpp}17 的结构化绑定。为此专门提供了 `std::tuple_size`、`std::tuple_element` 的特化及 &amp;lt;&lt;ref_get&gt;&amp;gt; 的重载。&lt;/ref_get&gt;&lt;/ref_key_value_pair&gt;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">86</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="059c92545c3dacd3" weblate-flags="safe-html, strict-same">
        <source>Formatted Output</source>
        <target state="translated">格式化输出</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">91</context>
        </context-group>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="408b82f8f6c19f17" weblate-flags="safe-html, strict-same">
        <source>When an &lt;&lt;ref_object&gt;&gt; is formatted to a {std_ostream}, the result is a valid JSON. That is, the object will be output with curly braces and a comma separated list of key/value pairs, as per the JSON specification.</source>
        <target state="translated">当 &amp;lt;&lt;ref_object&gt;&amp;gt; 被格式化输出到 {std_ostream} 时，结果将是有效的 JSON。即根据 JSON 规范，对象将以花括号和逗号分隔的键/值对列表形式输出。&lt;/ref_object&gt;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile"></context>
          <context context-type="linenumber">93</context>
        </context-group>
      </trans-unit>
    </body>
  </file>
</xliff>
