<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">susumu.yata &lt;susum****@gmail*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2014-06-04 10:52:26 +0900 (Wed, 04 Jun 2014)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54">66368999b97772b0745442af3b2a9214813a7e54</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Use builder classes.</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#diff-0">new-interface/table.hpp</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: new-interface/table.hpp (+6 -11)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L227">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L228">228</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L229">229</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L230">230</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L231">231</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L232">232</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L233">233</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L234">234</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L235">235</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L236">236</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L237">237</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L238">238</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L239">239</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L240">240</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L241">241</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L242">242</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L249">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L250">250</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L251">251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L252">252</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L253">253</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L254">254</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L255">255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L256">256</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L257">257</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L258">258</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L259">259</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L260">260</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L261">261</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L262">262</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L272">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L273">273</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L274">274</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L275">275</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L276">276</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L277">277</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L278">278</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0L279">279</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R227">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R228">228</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R229">229</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R230">230</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R231">231</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R232">232</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R233">233</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R234">234</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R235">235</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R236">236</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R237">237</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R238">238</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R239">239</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R246">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R247">247</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R248">248</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R249">249</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R250">250</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R251">251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R252">252</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R253">253</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R254">254</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R255">255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R256">256</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R257">257</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R267">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R268">268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R269">269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R270">270</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R271">271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R272">272</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R273">273</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/66368999b97772b0745442af3b2a9214813a7e54#L0R274">274</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -228,15 +228,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Table {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       const CursorOptions &amp;options,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       Error *error) const = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  // TODO: Table には create_expression_builder() を持たせ,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  //       ExpressionBuilder を使って Expression を作成する方がすっきりする.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  // 行 ID の一覧に適用できる式を作成する.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  // 式を構築するためのオブジェクトを作成する.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // 成功すれば有効なオブジェクトへのポインタを返す.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // 失敗したときは *error にその内容を格納し, nullptr を返す.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   //</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  // 索引による検索の後で絞り込むために用いる.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  // ほかに,スコアの調整や出力の指定,整列条件やグループ化条件の指定にも用いる.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  // 検索結果の絞り込み,スコアの調整や出力の指定,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  // 整列条件やグループ化条件の指定に用いる.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   //</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // 返り値は std::unique_ptr なので自動的に delete される.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // 自動で delete されて困るときは release() で生のポインタを取り出す必要がある.</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -250,13 +247,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Table {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // 失敗する状況としては,以下のようなものが挙げられる.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // - オプションが不正である.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // - リソースが確保できない.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  virtual std::unique_ptr&lt;Expression&gt; create_expression(</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  virtual std::unique_ptr&lt;Expression&gt; create_expression_builder(</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       const ExpressionOptions &amp;options,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       Error *error) const = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  // TODO: Expression と同じく SorterBuilder を介する方がよさそう.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  // 整列器を作成する.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  // 整列器を構築するためのオブジェクトを作成する.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // 成功すれば有効なオブジェクトへのポインタを返す.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // 失敗したときは *error にその内容を格納し, nullptr を返す.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   //</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -273,7 +268,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class Table {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // 失敗する状況としては,以下のようなものが挙げられる.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // - オプションが不正である.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // - リソースが確保できない.</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  virtual std::unique_ptr&lt;Sorter&gt; create_sorter(</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  virtual std::unique_ptr&lt;Sorter&gt; create_sorter_builder(</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       const SorterOptions &amp;options,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       Error *error) const = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>