This commit is contained in:
bthomee
2025-08-19 09:49:50 -07:00
parent bb5efdeec8
commit e7f4ae8bed
14888 changed files with 259444 additions and 168566 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: comparators.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -29,7 +29,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -46,6 +46,11 @@ $(function() {
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
@@ -116,28 +121,36 @@ $(function() {
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment"> */</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T = <span class="keywordtype">void</span>&gt;</div>
<div class="foldopen" id="foldopen00041" data-start="{" data-end="};">
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="structripple_1_1less.html"> 41</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1less.html">less</a></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>{</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="structripple_1_1less.html#a39673c5a3d487aad4a59571d85511f0f"> 43</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="structripple_1_1less.html#a39673c5a3d487aad4a59571d85511f0f">result_type</a> = bool;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00046" data-start="{" data-end="}">
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="structripple_1_1less.html#abe85532f538f056fa613ce29a1cdcabd"> 46</a></span> <a class="code hl_function" href="structripple_1_1less.html#abe85532f538f056fa613ce29a1cdcabd">operator()</a>(T <span class="keyword">const</span>&amp; left, T <span class="keyword">const</span>&amp; right)<span class="keyword"> const</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">return</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/less.html">std::less&lt;T&gt;</a>()(left, right);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> }</div>
</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span>};</div>
</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T = <span class="keywordtype">void</span>&gt;</div>
<div class="foldopen" id="foldopen00053" data-start="{" data-end="};">
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="structripple_1_1equal__to.html"> 53</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1equal__to.html">equal_to</a></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>{</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="structripple_1_1equal__to.html#a97b1fbe42f233ab839746bb9b6051479"> 55</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="structripple_1_1equal__to.html#a97b1fbe42f233ab839746bb9b6051479">result_type</a> = bool;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00058" data-start="{" data-end="}">
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="structripple_1_1equal__to.html#a239a8d0e38d0469c765b0ac7196b0a19"> 58</a></span> <a class="code hl_function" href="structripple_1_1equal__to.html#a239a8d0e38d0469c765b0ac7196b0a19">operator()</a>(T <span class="keyword">const</span>&amp; left, T <span class="keyword">const</span>&amp; right)<span class="keyword"> const</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keywordflow">return</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/equal_to.html">std::equal_to&lt;T&gt;</a>()(left, right);</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> }</div>
</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>};</div>
</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
@@ -155,17 +168,17 @@ $(function() {
<div class="ttc" id="aequal_to_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/equal_to.html">std::equal_to</a></div></div>
<div class="ttc" id="afunctional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/functional.html">functional</a></div></div>
<div class="ttc" id="aless_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/less.html">std::less</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="astructripple_1_1equal__to_html"><div class="ttname"><a href="structripple_1_1equal__to.html">ripple::equal_to</a></div><div class="ttdef"><b>Definition:</b> <a href="comparators_8h_source.html#l00053">comparators.h:54</a></div></div>
<div class="ttc" id="astructripple_1_1equal__to_html_a239a8d0e38d0469c765b0ac7196b0a19"><div class="ttname"><a href="structripple_1_1equal__to.html#a239a8d0e38d0469c765b0ac7196b0a19">ripple::equal_to::operator()</a></div><div class="ttdeci">constexpr bool operator()(T const &amp;left, T const &amp;right) const</div><div class="ttdef"><b>Definition:</b> <a href="comparators_8h_source.html#l00058">comparators.h:58</a></div></div>
<div class="ttc" id="astructripple_1_1equal__to_html_a97b1fbe42f233ab839746bb9b6051479"><div class="ttname"><a href="structripple_1_1equal__to.html#a97b1fbe42f233ab839746bb9b6051479">ripple::equal_to::result_type</a></div><div class="ttdeci">bool result_type</div><div class="ttdef"><b>Definition:</b> <a href="comparators_8h_source.html#l00055">comparators.h:55</a></div></div>
<div class="ttc" id="astructripple_1_1less_html"><div class="ttname"><a href="structripple_1_1less.html">ripple::less</a></div><div class="ttdef"><b>Definition:</b> <a href="comparators_8h_source.html#l00041">comparators.h:42</a></div></div>
<div class="ttc" id="astructripple_1_1less_html_a39673c5a3d487aad4a59571d85511f0f"><div class="ttname"><a href="structripple_1_1less.html#a39673c5a3d487aad4a59571d85511f0f">ripple::less::result_type</a></div><div class="ttdeci">bool result_type</div><div class="ttdef"><b>Definition:</b> <a href="comparators_8h_source.html#l00043">comparators.h:43</a></div></div>
<div class="ttc" id="astructripple_1_1less_html_abe85532f538f056fa613ce29a1cdcabd"><div class="ttname"><a href="structripple_1_1less.html#abe85532f538f056fa613ce29a1cdcabd">ripple::less::operator()</a></div><div class="ttdeci">constexpr bool operator()(T const &amp;left, T const &amp;right) const</div><div class="ttdef"><b>Definition:</b> <a href="comparators_8h_source.html#l00046">comparators.h:46</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="astructripple_1_1equal__to_html"><div class="ttname"><a href="structripple_1_1equal__to.html">ripple::equal_to</a></div><div class="ttdef"><b>Definition</b> <a href="comparators_8h_source.html#l00053">comparators.h:54</a></div></div>
<div class="ttc" id="astructripple_1_1equal__to_html_a239a8d0e38d0469c765b0ac7196b0a19"><div class="ttname"><a href="structripple_1_1equal__to.html#a239a8d0e38d0469c765b0ac7196b0a19">ripple::equal_to::operator()</a></div><div class="ttdeci">constexpr bool operator()(T const &amp;left, T const &amp;right) const</div><div class="ttdef"><b>Definition</b> <a href="comparators_8h_source.html#l00058">comparators.h:58</a></div></div>
<div class="ttc" id="astructripple_1_1equal__to_html_a97b1fbe42f233ab839746bb9b6051479"><div class="ttname"><a href="structripple_1_1equal__to.html#a97b1fbe42f233ab839746bb9b6051479">ripple::equal_to::result_type</a></div><div class="ttdeci">bool result_type</div><div class="ttdef"><b>Definition</b> <a href="comparators_8h_source.html#l00055">comparators.h:55</a></div></div>
<div class="ttc" id="astructripple_1_1less_html"><div class="ttname"><a href="structripple_1_1less.html">ripple::less</a></div><div class="ttdef"><b>Definition</b> <a href="comparators_8h_source.html#l00041">comparators.h:42</a></div></div>
<div class="ttc" id="astructripple_1_1less_html_a39673c5a3d487aad4a59571d85511f0f"><div class="ttname"><a href="structripple_1_1less.html#a39673c5a3d487aad4a59571d85511f0f">ripple::less::result_type</a></div><div class="ttdeci">bool result_type</div><div class="ttdef"><b>Definition</b> <a href="comparators_8h_source.html#l00043">comparators.h:43</a></div></div>
<div class="ttc" id="astructripple_1_1less_html_abe85532f538f056fa613ce29a1cdcabd"><div class="ttname"><a href="structripple_1_1less.html#abe85532f538f056fa613ce29a1cdcabd">ripple::less::operator()</a></div><div class="ttdeci">constexpr bool operator()(T const &amp;left, T const &amp;right) const</div><div class="ttdef"><b>Definition</b> <a href="comparators_8h_source.html#l00046">comparators.h:46</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>