title: Which object reference does GenericValue::AddMember return
body: <p>The <a href="http://rapidjson.org/classrapidjson_1_1_generic_value.html" rel="nofollow noreferrer"><code>GenericValue</code></a> class of <a href="http://rapidjson.org" rel="nofollow noreferrer">RapidJSON</a> has an <a href="http://rapidjson.org/classrapidjson_1_1_generic_value.html#ab018d734d189532b27943bc45776ba68" rel="nofollow noreferrer"><code>AddMember</code></a> method, which returns a <code>GenericValue</code> reference:</p>
  
  <pre><code> GenericValue&amp; rapidjson::GenericValue&lt; Encoding, Allocator &gt;::AddMember(
      GenericValue&lt; Encoding, Allocator &gt; &amp;name,
      GenericValue&lt; Encoding, Allocator &gt; &amp;value,
      Allocator &amp;allocator 
      )
  </code></pre>
  
  <p>The document says this returns</p>
  
  <blockquote>
    <p>The value itself for fluent API.</p>
  </blockquote>
  
  <p>But <strong>which</strong> value (reference) does it return? The <code>value</code> given to the method (the value added)? Or the value to which the member has been added?</p>