mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 01:07:57 +00:00
deploy: 023f5704d0
This commit is contained in:
@@ -99,26 +99,27 @@ $(function() {
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structbeast_1_1maybe__const.html"> 29</a></span> <span class="keyword">struct </span><a class="code" href="structbeast_1_1maybe__const.html">maybe_const</a></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">explicit</span> <a class="code" href="structbeast_1_1maybe__const.html#af635f99069c4285bf09e02dbb81b5708">maybe_const</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">using</span> <a class="code" href="structbeast_1_1maybe__const.html#a5b55f42c016c89dcf8cd78297303cb06">type</a> = <span class="keyword">typename</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/conditional.html">std::conditional</a> <IsConst,</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">typename</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/remove_cv.html">std::remove_const <T>::type</a> <span class="keyword">const</span>,</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structbeast_1_1maybe__const.html#a5b55f42c016c89dcf8cd78297303cb06"> 34</a></span>  <span class="keyword">typename</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/remove_cv.html">std::remove_const <T>::type</a>><a class="code" href="structbeast_1_1maybe__const.html#a5b55f42c016c89dcf8cd78297303cb06">::type</a>;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> };</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">template</span> <<span class="keywordtype">bool</span> IsConst, <span class="keyword">class</span> T></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespacebeast.html#a8043ff48907b4e6af56a2b63ddbac1c3"> 39</a></span> <span class="keyword">using</span> <a class="code" href="namespacebeast.html#a8043ff48907b4e6af56a2b63ddbac1c3">maybe_const_t</a> = <span class="keyword">typename</span> <a class="code" href="structbeast_1_1maybe__const.html#a5b55f42c016c89dcf8cd78297303cb06">maybe_const <IsConst,T>::type</a>;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> }</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">using</span> <a class="code" href="structbeast_1_1maybe__const.html#a62817e087ae7434ffcef5c569f1e1198">type</a> = <span class="keyword">typename</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/conditional.html">std::conditional</a><</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  IsConst,</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">typename</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/remove_cv.html">std::remove_const<T>::type</a> <span class="keyword">const</span>,</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structbeast_1_1maybe__const.html#a62817e087ae7434ffcef5c569f1e1198"> 35</a></span>  <span class="keyword">typename</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/remove_cv.html">std::remove_const<T>::type</a>><a class="code" href="structbeast_1_1maybe__const.html#a62817e087ae7434ffcef5c569f1e1198">::type</a>;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> };</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">template</span> <<span class="keywordtype">bool</span> IsConst, <span class="keyword">class</span> T></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="namespacebeast.html#a1a2346bace9bdb5651e8aefc6b20de4e"> 40</a></span> <span class="keyword">using</span> <a class="code" href="namespacebeast.html#a1a2346bace9bdb5651e8aefc6b20de4e">maybe_const_t</a> = <span class="keyword">typename</span> <a class="code" href="structbeast_1_1maybe__const.html#a62817e087ae7434ffcef5c569f1e1198">maybe_const<IsConst, T>::type</a>;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> } <span class="comment">// namespace beast</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="astructbeast_1_1maybe__const_html_af635f99069c4285bf09e02dbb81b5708"><div class="ttname"><a href="structbeast_1_1maybe__const.html#af635f99069c4285bf09e02dbb81b5708">beast::maybe_const::maybe_const</a></div><div class="ttdeci">maybe_const()=default</div></div>
|
||||
<div class="ttc" id="anamespacebeast_html_a1a2346bace9bdb5651e8aefc6b20de4e"><div class="ttname"><a href="namespacebeast.html#a1a2346bace9bdb5651e8aefc6b20de4e">beast::maybe_const_t</a></div><div class="ttdeci">typename maybe_const< IsConst, T >::type maybe_const_t</div><div class="ttdoc">Alias for omitting typename.</div><div class="ttdef"><b>Definition:</b> <a href="maybe__const_8h_source.html#l00040">maybe_const.h:40</a></div></div>
|
||||
<div class="ttc" id="astructbeast_1_1maybe__const_html"><div class="ttname"><a href="structbeast_1_1maybe__const.html">beast::maybe_const</a></div><div class="ttdoc">Makes T const or non const depending on a bool.</div><div class="ttdef"><b>Definition:</b> <a href="maybe__const_8h_source.html#l00029">maybe_const.h:29</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_html_a8043ff48907b4e6af56a2b63ddbac1c3"><div class="ttname"><a href="namespacebeast.html#a8043ff48907b4e6af56a2b63ddbac1c3">beast::maybe_const_t</a></div><div class="ttdeci">typename maybe_const< IsConst, T >::type maybe_const_t</div><div class="ttdoc">Alias for omitting typename.</div><div class="ttdef"><b>Definition:</b> <a href="maybe__const_8h_source.html#l00039">maybe_const.h:39</a></div></div>
|
||||
<div class="ttc" id="astructbeast_1_1maybe__const_html_a5b55f42c016c89dcf8cd78297303cb06"><div class="ttname"><a href="structbeast_1_1maybe__const.html#a5b55f42c016c89dcf8cd78297303cb06">beast::maybe_const::type</a></div><div class="ttdeci">typename std::conditional< IsConst, typename std::remove_const< T >::type const, typename std::remove_const< T >::type >::type type</div><div class="ttdef"><b>Definition:</b> <a href="maybe__const_8h_source.html#l00034">maybe_const.h:34</a></div></div>
|
||||
<div class="ttc" id="astructbeast_1_1maybe__const_html_a62817e087ae7434ffcef5c569f1e1198"><div class="ttname"><a href="structbeast_1_1maybe__const.html#a62817e087ae7434ffcef5c569f1e1198">beast::maybe_const::type</a></div><div class="ttdeci">typename std::conditional< IsConst, typename std::remove_const< T >::type const, typename std::remove_const< T >::type >::type type</div><div class="ttdef"><b>Definition:</b> <a href="maybe__const_8h_source.html#l00035">maybe_const.h:35</a></div></div>
|
||||
<div class="ttc" id="aremove_cv_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/remove_cv.html">std::remove_const</a></div></div>
|
||||
<div class="ttc" id="aconditional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/conditional.html">std::conditional</a></div></div>
|
||||
<div class="ttc" id="atype_traits_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/type_traits.html">type_traits</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00582">base_uint.h:582</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00646">base_uint.h:646</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
|
||||
Reference in New Issue
Block a user