Skip to content

Commit

Permalink
Deploying to gh-pages from @ 739eccd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryKogan committed Jan 9, 2024
1 parent d6cdb94 commit ca590cc
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 169 deletions.
13 changes: 7 additions & 6 deletions classres_1_1result-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,13 @@
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>err</b> (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>error</b>() const -&gt; const E &amp; (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>is_ok</b>() const -&gt; bool (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>map</b>(F &amp;&amp;functor) const -&gt; result&lt; U, E &gt; (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ok</b> (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>operator bool</b>() const (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator!</b>() const -&gt; bool (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>value</b>() const -&gt; const T &amp; (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>value_or</b>(T &amp;&amp;default_value) const -&gt; T (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>map</b>(F &amp;&amp;functor) const -&gt; result&lt; R, E &gt; (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>map_err</b>(F &amp;&amp;functor) const -&gt; result&lt; T, U &gt; (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>ok</b> (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator bool</b>() const (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>operator!</b>() const -&gt; bool (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>value</b>() const -&gt; const T &amp; (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>value_or</b>(T &amp;&amp;default_value) const -&gt; T (defined in <a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result.html">res::result&lt; T, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
Expand Down
12 changes: 8 additions & 4 deletions classres_1_1result.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,14 @@
<tr class="memitem:a3830834d00209c869d042c76bdc7e721"><td class="memItemLeft" align="right" valign="top"><a id="a3830834d00209c869d042c76bdc7e721" name="a3830834d00209c869d042c76bdc7e721"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>error</b> () const -&gt; const E &amp;</td></tr>
<tr class="separator:a3830834d00209c869d042c76bdc7e721"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32b57aea0035eb40c80a25ffc63325f2"><td class="memTemplParams" colspan="2"><a id="a32b57aea0035eb40c80a25ffc63325f2" name="a32b57aea0035eb40c80a25ffc63325f2"></a>
template&lt;typename F , typename U = std::invoke_result_t&lt;F, T&gt;&gt; </td></tr>
<tr class="memitem:a32b57aea0035eb40c80a25ffc63325f2"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><b>map</b> (F &amp;&amp;functor) const -&gt; <a class="el" href="classres_1_1result.html">result</a>&lt; U, E &gt;</td></tr>
<tr class="separator:a32b57aea0035eb40c80a25ffc63325f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36d403dae44a86e3228cfddb554ac58b"><td class="memTemplParams" colspan="2"><a id="a36d403dae44a86e3228cfddb554ac58b" name="a36d403dae44a86e3228cfddb554ac58b"></a>
template&lt;typename F , typename R = std::invoke_result_t&lt;F, T&gt;&gt; </td></tr>
<tr class="memitem:a36d403dae44a86e3228cfddb554ac58b"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><b>map</b> (F &amp;&amp;functor) const -&gt; <a class="el" href="classres_1_1result.html">result</a>&lt; R, E &gt;</td></tr>
<tr class="separator:a36d403dae44a86e3228cfddb554ac58b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0d08e4761a63e10ad5e5aea741c1436"><td class="memTemplParams" colspan="2"><a id="af0d08e4761a63e10ad5e5aea741c1436" name="af0d08e4761a63e10ad5e5aea741c1436"></a>
template&lt;typename F , typename U = std::invoke_result_t&lt;F, E&gt;&gt; </td></tr>
<tr class="memitem:af0d08e4761a63e10ad5e5aea741c1436"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><b>map_err</b> (F &amp;&amp;functor) const -&gt; <a class="el" href="classres_1_1result.html">result</a>&lt; T, U &gt;</td></tr>
<tr class="separator:af0d08e4761a63e10ad5e5aea741c1436"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
Expand Down
9 changes: 5 additions & 4 deletions classres_1_1result_3_01void_00_01E_01_4-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,11 @@
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>err</b> (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>error</b>() const -&gt; const E &amp; (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>is_ok</b>() const -&gt; bool (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>map</b>(F &amp;&amp;functor) const -&gt; result&lt; U, E &gt; (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ok</b> (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>operator bool</b>() const (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator!</b>() const -&gt; bool (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>map</b>(F &amp;&amp;functor) const -&gt; result&lt; R, E &gt; (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>map_err</b>(F &amp;&amp;functor) const -&gt; result&lt; void, U &gt; (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>ok</b> (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator bool</b>() const (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>operator!</b>() const -&gt; bool (defined in <a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a>)</td><td class="entry"><a class="el" href="classres_1_1result_3_01void_00_01E_01_4.html">res::result&lt; void, E &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
Expand Down
12 changes: 8 additions & 4 deletions classres_1_1result_3_01void_00_01E_01_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,14 @@
<tr class="memitem:ad76ac05db30b66e3fc33edbbc8e50b2a"><td class="memItemLeft" align="right" valign="top"><a id="ad76ac05db30b66e3fc33edbbc8e50b2a" name="ad76ac05db30b66e3fc33edbbc8e50b2a"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>error</b> () const -&gt; const E &amp;</td></tr>
<tr class="separator:ad76ac05db30b66e3fc33edbbc8e50b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fc29619ea3cf824956693d869b8c00a"><td class="memTemplParams" colspan="2"><a id="a4fc29619ea3cf824956693d869b8c00a" name="a4fc29619ea3cf824956693d869b8c00a"></a>
template&lt;typename F , typename U = std::invoke_result_t&lt;F&gt;&gt; </td></tr>
<tr class="memitem:a4fc29619ea3cf824956693d869b8c00a"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><b>map</b> (F &amp;&amp;functor) const -&gt; <a class="el" href="classres_1_1result.html">result</a>&lt; U, E &gt;</td></tr>
<tr class="separator:a4fc29619ea3cf824956693d869b8c00a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2611e6013634514dae7a49852f84d6e"><td class="memTemplParams" colspan="2"><a id="aa2611e6013634514dae7a49852f84d6e" name="aa2611e6013634514dae7a49852f84d6e"></a>
template&lt;typename F , typename R = std::invoke_result_t&lt;F&gt;&gt; </td></tr>
<tr class="memitem:aa2611e6013634514dae7a49852f84d6e"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><b>map</b> (F &amp;&amp;functor) const -&gt; <a class="el" href="classres_1_1result.html">result</a>&lt; R, E &gt;</td></tr>
<tr class="separator:aa2611e6013634514dae7a49852f84d6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f2fdb72a71cd4051bbccbb68749aa25"><td class="memTemplParams" colspan="2"><a id="a5f2fdb72a71cd4051bbccbb68749aa25" name="a5f2fdb72a71cd4051bbccbb68749aa25"></a>
template&lt;typename F , typename U = std::invoke_result_t&lt;F, E&gt;&gt; </td></tr>
<tr class="memitem:a5f2fdb72a71cd4051bbccbb68749aa25"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><b>map_err</b> (F &amp;&amp;functor) const -&gt; <a class="el" href="classres_1_1result.html">result</a>&lt; void, U &gt;</td></tr>
<tr class="separator:a5f2fdb72a71cd4051bbccbb68749aa25"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
Expand Down
3 changes: 2 additions & 1 deletion result_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@

<p>result is a C++ library that provides a Result&lt;T, E&gt; type, which can be used to return and propagate errors. It's inspired by Rust's std::Result type.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdexcept&gt;</code><br />
<div class="textblock"><code>#include &lt;optional&gt;</code><br />
<code>#include &lt;stdexcept&gt;</code><br />
<code>#include &lt;utility&gt;</code><br />
<code>#include &lt;variant&gt;</code><br />
</div>
Expand Down
Loading

0 comments on commit ca590cc

Please sign in to comment.