Documentation for 8b1eab204b

This commit is contained in:
realstealthninja
2024-11-04 12:43:05 +00:00
parent 4fb6e622e9
commit a7bccf7d01
6732 changed files with 153919 additions and 365711 deletions

View File

@@ -1,21 +1,19 @@
<map id="Graph" name="Graph">
<area shape="rect" id="Node000001" title=" " alt="" coords="585,174,641,200"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="276,8,413,33"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="276,8,413,33"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="429,24,498,41,532,56,563,77,583,100,597,126,612,173,607,175,592,128,578,103,559,81,530,61,496,46,428,29"/>
<area shape="rect" id="Node000003" href="$d7/d77/class_edge.html" title=" " alt="" coords="53,8,105,33"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="120,18,275,18,275,23,120,23"/>
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/map.html" title=" " alt="" coords="258,58,431,114"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="258,58,431,114"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="447,94,506,109,562,133,587,152,604,172,600,176,583,155,560,137,504,114,446,99"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="5,65,153,106"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="5,65,153,106"/>
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="168,83,257,83,257,88,168,88"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="266,137,423,178"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="266,137,423,178"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="439,165,585,181,584,187,438,171"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="284,202,405,228"/>
<area shape="rect" id="Node000007" title=" " alt="" coords="284,202,405,228"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="420,212,489,208,561,199,584,194,585,199,561,205,489,214,420,217"/>
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="270,252,419,293"/>
<area shape="rect" id="Node000008" title=" " alt="" coords="270,252,419,293"/>
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="434,265,497,254,560,232,582,216,599,199,603,202,585,220,562,236,499,259,435,271"/>
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/tuple.html" title=" " alt="" coords="15,252,143,293"/>
<area shape="poly" id="edge8_Node000008_Node000009" title=" " alt="" coords="158,270,269,270,269,275,158,275"/>
<area shape="rect" id="Node000010" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/bitset.html" title=" " alt="" coords="273,317,416,342"/>
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="430,326,497,313,530,300,559,283,577,264,591,241,606,200,611,201,596,244,582,267,563,287,532,305,499,318,431,331"/>
<area shape="rect" id="Node000009" title=" " alt="" coords="273,317,416,342"/>
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="430,326,497,313,530,300,559,283,577,264,591,241,606,200,611,201,596,244,582,267,563,287,532,305,499,318,431,331"/>
</map>

View File

@@ -1 +1 @@
ff1e3808bc1707202b3c553605f4077d
9df69d214f86923b96a5af1503d65ffc

View File

@@ -31,7 +31,7 @@
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="305.75,-251.25 202.75,-251.25 202.75,-232 305.75,-232 305.75,-251.25"/>
<text text-anchor="middle" x="254.25" y="-237.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; Edge &gt;</text>
</a>
@@ -69,7 +69,7 @@
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/map.html" xlink:title=" ">
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="319.25,-213.5 189.25,-213.5 189.25,-171.75 319.25,-171.75 319.25,-213.5"/>
<text text-anchor="start" x="197.25" y="-200" font-family="Helvetica,sans-Serif" font-size="10.00">std::map&lt; unsigned</text>
<text text-anchor="start" x="197.25" y="-188.75" font-family="Helvetica,sans-Serif" font-size="10.00"> int, std::vector&lt; unsigned</text>
@@ -90,7 +90,7 @@
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="110.5,-207.88 0,-207.88 0,-177.38 110.5,-177.38 110.5,-207.88"/>
<text text-anchor="start" x="8" y="-194.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; unsigned</text>
<text text-anchor="middle" x="55.25" y="-183.12" font-family="Helvetica,sans-Serif" font-size="10.00"> int &gt;</text>
@@ -110,7 +110,7 @@
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="313.25,-153.88 195.25,-153.88 195.25,-123.38 313.25,-123.38 313.25,-153.88"/>
<text text-anchor="start" x="203.25" y="-140.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; std::vector</text>
<text text-anchor="middle" x="254.25" y="-129.12" font-family="Helvetica,sans-Serif" font-size="10.00">&lt; int &gt; &gt;</text>
@@ -131,7 +131,7 @@
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="299.75,-105.25 208.75,-105.25 208.75,-86 299.75,-86 299.75,-105.25"/>
<text text-anchor="middle" x="254.25" y="-91.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; int &gt;</text>
</a>
@@ -150,7 +150,7 @@
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="310.25,-67.88 198.25,-67.88 198.25,-37.38 310.25,-37.38 310.25,-67.88"/>
<text text-anchor="start" x="206.25" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; std::tuple</text>
<text text-anchor="middle" x="254.25" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00">&lt; int, int, int &gt; &gt;</text>
@@ -170,36 +170,16 @@
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/tuple.html" xlink:title=" ">
<polygon fill="white" stroke="#bfbfbf" points="103,-67.88 7.5,-67.88 7.5,-37.38 103,-37.38 103,-67.88"/>
<text text-anchor="start" x="15.5" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::tuple&lt; int, int,</text>
<text text-anchor="middle" x="55.25" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00"> int &gt;</text>
</a>
</g>
</g>
<!-- Node9&#45;&gt;Node8 -->
<g id="edge8_Node000008_Node000009" class="edge">
<title>Node9&#45;&gt;Node8</title>
<g id="a_edge8_Node000008_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M114.81,-52.62C141.16,-52.62 172.12,-52.62 198.07,-52.62"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="114.95,-49.13 104.95,-52.63 114.95,-56.13 114.95,-49.13"/>
</a>
</g>
<text text-anchor="middle" x="149.88" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> elements</text>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/bitset.html" xlink:title=" ">
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="307.62,-19.25 200.88,-19.25 200.88,0 307.62,0 307.62,-19.25"/>
<text text-anchor="middle" x="254.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::bitset&lt; MAXN &gt;</text>
</a>
</g>
</g>
<!-- Node10&#45;&gt;Node1 -->
<g id="edge9_Node000001_Node000010" class="edge">
<title>Node10&#45;&gt;Node1</title>
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
<!-- Node9&#45;&gt;Node1 -->
<g id="edge8_Node000001_Node000009" class="edge">
<title>Node9&#45;&gt;Node1</title>
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M319.05,-10.37C351.13,-13.66 388.98,-22.33 416.75,-43.38 437.89,-59.39 448.39,-90.51 452.58,-106.54"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="319.74,-6.91 309.48,-9.54 319.14,-13.89 319.74,-6.91"/>
</a>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@@ -20,7 +20,7 @@
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="305.75,-251.25 202.75,-251.25 202.75,-232 305.75,-232 305.75,-251.25"/>
<text text-anchor="middle" x="254.25" y="-237.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; Edge &gt;</text>
</a>
@@ -58,7 +58,7 @@
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/map.html" xlink:title=" ">
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="319.25,-213.5 189.25,-213.5 189.25,-171.75 319.25,-171.75 319.25,-213.5"/>
<text text-anchor="start" x="197.25" y="-200" font-family="Helvetica,sans-Serif" font-size="10.00">std::map&lt; unsigned</text>
<text text-anchor="start" x="197.25" y="-188.75" font-family="Helvetica,sans-Serif" font-size="10.00"> int, std::vector&lt; unsigned</text>
@@ -79,7 +79,7 @@
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="110.5,-207.88 0,-207.88 0,-177.38 110.5,-177.38 110.5,-207.88"/>
<text text-anchor="start" x="8" y="-194.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; unsigned</text>
<text text-anchor="middle" x="55.25" y="-183.12" font-family="Helvetica,sans-Serif" font-size="10.00"> int &gt;</text>
@@ -99,7 +99,7 @@
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="313.25,-153.88 195.25,-153.88 195.25,-123.38 313.25,-123.38 313.25,-153.88"/>
<text text-anchor="start" x="203.25" y="-140.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; std::vector</text>
<text text-anchor="middle" x="254.25" y="-129.12" font-family="Helvetica,sans-Serif" font-size="10.00">&lt; int &gt; &gt;</text>
@@ -120,7 +120,7 @@
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="299.75,-105.25 208.75,-105.25 208.75,-86 299.75,-86 299.75,-105.25"/>
<text text-anchor="middle" x="254.25" y="-91.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; int &gt;</text>
</a>
@@ -139,7 +139,7 @@
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="310.25,-67.88 198.25,-67.88 198.25,-37.38 310.25,-37.38 310.25,-67.88"/>
<text text-anchor="start" x="206.25" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; std::tuple</text>
<text text-anchor="middle" x="254.25" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00">&lt; int, int, int &gt; &gt;</text>
@@ -159,36 +159,16 @@
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/tuple.html" xlink:title=" ">
<polygon fill="white" stroke="#bfbfbf" points="103,-67.88 7.5,-67.88 7.5,-37.38 103,-37.38 103,-67.88"/>
<text text-anchor="start" x="15.5" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::tuple&lt; int, int,</text>
<text text-anchor="middle" x="55.25" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00"> int &gt;</text>
</a>
</g>
</g>
<!-- Node9&#45;&gt;Node8 -->
<g id="edge8_Node000008_Node000009" class="edge">
<title>Node9&#45;&gt;Node8</title>
<g id="a_edge8_Node000008_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M114.81,-52.62C141.16,-52.62 172.12,-52.62 198.07,-52.62"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="114.95,-49.13 104.95,-52.63 114.95,-56.13 114.95,-49.13"/>
</a>
</g>
<text text-anchor="middle" x="149.88" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> elements</text>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/bitset.html" xlink:title=" ">
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="307.62,-19.25 200.88,-19.25 200.88,0 307.62,0 307.62,-19.25"/>
<text text-anchor="middle" x="254.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::bitset&lt; MAXN &gt;</text>
</a>
</g>
</g>
<!-- Node10&#45;&gt;Node1 -->
<g id="edge9_Node000001_Node000010" class="edge">
<title>Node10&#45;&gt;Node1</title>
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
<!-- Node9&#45;&gt;Node1 -->
<g id="edge8_Node000001_Node000009" class="edge">
<title>Node9&#45;&gt;Node1</title>
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M319.05,-10.37C351.13,-13.66 388.98,-22.33 416.75,-43.38 437.89,-59.39 448.39,-90.51 452.58,-106.54"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="319.74,-6.91 309.48,-9.54 319.14,-13.89 319.74,-6.91"/>
</a>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@@ -1,3 +1,4 @@
<!-- HTML header for doxygen 1.12.0-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
@@ -5,10 +6,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: stack&lt; ValueType &gt; Class Template Reference</title>
<title>TheAlgorithms/C++: stack&lt; ValueType &gt; Class Template Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
</script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../navtreedata.js"></script>
@@ -18,14 +24,24 @@
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
<script type="text/javascript">
window.MathJax = {
options: {
ignoreHtmlClass: 'tex2jax_ignore',
processHtmlClass: 'tex2jax_process'
},
loader: {
load: ['[tex]/ams']
},
tex: {
macros: {},
packages: ['base','configmacros','ams']
}
};
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
@@ -33,10 +49,11 @@ MathJax.Hub.Config({
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
<td id="projectalign">
<div id="projectname">Algorithms_in_C++<span id="projectnumber">&#160;1.0.0</span>
<div id="projectname">TheAlgorithms/C++<span id="projectnumber">&#160;1.0.0</span>
</div>
<div id="projectbrief">Set of algorithms implemented in C++.</div>
<div id="projectbrief">All the algorithms implemented in C++</div>
</td>
</tr>
</tbody>
@@ -114,27 +131,26 @@ $(function(){initNavTree('d1/dc2/classstack.html','../../'); initResizable(true)
</div><!--header-->
<div class="contents">
<p>for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a>
<p>for std::invalid_argument
<a href="#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for stack&lt; ValueType &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/dcb/classstack__coll__graph.svg" width="503" height="244"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/dcb/classstack__coll__graph.svg" width="448" height="244"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:acd4f2a45d37824eecc4400673c9a840b" id="r_acd4f2a45d37824eecc4400673c9a840b"><td class="memItemLeft" align="right" valign="top"><a id="acd4f2a45d37824eecc4400673c9a840b" name="acd4f2a45d37824eecc4400673c9a840b"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b> = ValueType</td></tr>
<tr class="memitem:acd4f2a45d37824eecc4400673c9a840b" id="r_acd4f2a45d37824eecc4400673c9a840b"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acd4f2a45d37824eecc4400673c9a840b">value_type</a> = ValueType</td></tr>
<tr class="separator:acd4f2a45d37824eecc4400673c9a840b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8bce109630118a34faae717f72986033" id="r_a8bce109630118a34faae717f72986033"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8bce109630118a34faae717f72986033">display</a> () const</td></tr>
<tr class="separator:a8bce109630118a34faae717f72986033"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bbcca5e5d3ab096095899d236edf767" id="r_a6bbcca5e5d3ab096095899d236edf767"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; value_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6bbcca5e5d3ab096095899d236edf767">toVector</a> () const</td></tr>
<tr class="memitem:a6bbcca5e5d3ab096095899d236edf767" id="r_a6bbcca5e5d3ab096095899d236edf767"><td class="memItemLeft" align="right" valign="top">std::vector&lt; value_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6bbcca5e5d3ab096095899d236edf767">toVector</a> () const</td></tr>
<tr class="separator:a6bbcca5e5d3ab096095899d236edf767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a163eb9a6206c874c9bf98d032fca11c5" id="r_a163eb9a6206c874c9bf98d032fca11c5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a163eb9a6206c874c9bf98d032fca11c5">isEmptyStack</a> () const</td></tr>
<tr class="separator:a163eb9a6206c874c9bf98d032fca11c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -154,23 +170,43 @@ Private Member Functions</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:aefb3dac828e32b4ec014ff4b5d43a6b8" id="r_aefb3dac828e32b4ec014ff4b5d43a6b8"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../db/d8b/struct_node.html">Node</a>&lt; value_type &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a></td></tr>
<tr class="memitem:aefb3dac828e32b4ec014ff4b5d43a6b8" id="r_aefb3dac828e32b4ec014ff4b5d43a6b8"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="../../db/d8b/struct_node.html">Node</a>&lt; value_type &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a></td></tr>
<tr class="separator:aefb3dac828e32b4ec014ff4b5d43a6b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a6b2b93ec970296940798ee98a5072e" id="r_a0a6b2b93ec970296940798ee98a5072e"><td class="memItemLeft" align="right" valign="top"><a id="a0a6b2b93ec970296940798ee98a5072e" name="a0a6b2b93ec970296940798ee98a5072e"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> = 0</td></tr>
<tr class="memdesc:a0a6b2b93ec970296940798ee98a5072e"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of stack <br /></td></tr>
<tr class="memitem:a0a6b2b93ec970296940798ee98a5072e" id="r_a0a6b2b93ec970296940798ee98a5072e"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0a6b2b93ec970296940798ee98a5072e">size</a> = 0</td></tr>
<tr class="memdesc:a0a6b2b93ec970296940798ee98a5072e"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of stack <br /></td></tr>
<tr class="separator:a0a6b2b93ec970296940798ee98a5072e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class ValueType&gt;<br />
class stack&lt; ValueType &gt;</div><p>for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a> </p>
class stack&lt; ValueType &gt;</div><p>for std::invalid_argument </p>
<p>for <a class="el" href="../../db/d8b/struct_node.html">Node</a> Definition of the stack class </p><dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">value_type</td><td>type of data nodes of the linked list in the stack should contain </td></tr>
</table>
</dd>
</dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00019">19</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="acd4f2a45d37824eecc4400673c9a840b" name="acd4f2a45d37824eecc4400673c9a840b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd4f2a45d37824eecc4400673c9a840b">&#9670;&#160;</a></span>value_type</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ValueType &gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="../../d1/dc2/classstack.html">stack</a>&lt; ValueType &gt;::value_type = ValueType</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00021">21</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6f13157faa1a762c59e67da8b9516092" name="a6f13157faa1a762c59e67da8b9516092"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f13157faa1a762c59e67da8b9516092">&#9670;&#160;</a></span>clear()</h2>
@@ -196,12 +232,14 @@ template&lt;class ValueType &gt; </div>
</table>
</div><div class="memdoc">
<p>Clear stack </p>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00069">69</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 69</span> {</div>
<div class="line"><span class="lineno"> 70</span> <a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a> = <span class="keyword">nullptr</span>;</div>
<div class="line"><span class="lineno"> 71</span> <a class="code hl_variable" href="#a0a6b2b93ec970296940798ee98a5072e">size</a> = 0;</div>
<div class="line"><span class="lineno"> 72</span> }</div>
<div class="ttc" id="aclassstack_html_a0a6b2b93ec970296940798ee98a5072e"><div class="ttname"><a href="#a0a6b2b93ec970296940798ee98a5072e">stack::size</a></div><div class="ttdeci">std::size_t size</div><div class="ttdoc">size of stack</div><div class="ttdef"><b>Definition</b> stack.hpp:77</div></div>
<div class="ttc" id="aclassstack_html_aefb3dac828e32b4ec014ff4b5d43a6b8"><div class="ttname"><a href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stack::stackTop</a></div><div class="ttdeci">std::shared_ptr&lt; Node&lt; value_type &gt; &gt; stackTop</div><div class="ttdef"><b>Definition</b> stack.hpp:75</div></div>
<div class="ttc" id="aclassstack_html_a0a6b2b93ec970296940798ee98a5072e"><div class="ttname"><a href="#a0a6b2b93ec970296940798ee98a5072e">stack::size</a></div><div class="ttdeci">std::size_t size</div><div class="ttdoc">size of stack</div><div class="ttdef"><b>Definition</b> <a href="../../df/d47/stack_8hpp_source.html#l00077">stack.hpp:77</a></div></div>
<div class="ttc" id="aclassstack_html_aefb3dac828e32b4ec014ff4b5d43a6b8"><div class="ttname"><a href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stack::stackTop</a></div><div class="ttdeci">std::shared_ptr&lt; Node&lt; value_type &gt; &gt; stackTop</div><div class="ttdef"><b>Definition</b> <a href="../../df/d47/stack_8hpp_source.html#l00075">stack.hpp:75</a></div></div>
</div><!-- fragment -->
</div>
</div>
@@ -230,21 +268,15 @@ template&lt;class ValueType &gt; </div>
</table>
</div><div class="memdoc">
<p>Show stack </p>
<div class="fragment"><div class="line"><span class="lineno"> 24</span> {</div>
<div class="line"><span class="lineno"> 25</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Top --&gt; &quot;</span>;</div>
<div class="line"><span class="lineno"> 26</span> display_all(this-&gt;<a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/get.html">get</a>());</div>
<div class="line"><span class="lineno"> 27</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="charliteral">&#39;\n&#39;</span>;</div>
<div class="line"><span class="lineno"> 28</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Size of stack: &quot;</span> &lt;&lt; <a class="code hl_variable" href="#a0a6b2b93ec970296940798ee98a5072e">size</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 29</span> }</div>
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
<div class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
<div class="ttc" id="aget_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr/get.html">std::shared_ptr::get</a></div><div class="ttdeci">T get(T... args)</div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d1/dc2/classstack_a8bce109630118a34faae717f72986033_cgraph.svg" width="296" height="86"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00024">24</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 24</span> {</div>
<div class="line"><span class="lineno"> 25</span> std::cout &lt;&lt; <span class="stringliteral">&quot;Top --&gt; &quot;</span>;</div>
<div class="line"><span class="lineno"> 26</span> display_all(this-&gt;<a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a>.get());</div>
<div class="line"><span class="lineno"> 27</span> std::cout &lt;&lt; <span class="charliteral">&#39;\n&#39;</span>;</div>
<div class="line"><span class="lineno"> 28</span> std::cout &lt;&lt; <span class="stringliteral">&quot;Size of stack: &quot;</span> &lt;&lt; <a class="code hl_variable" href="#a0a6b2b93ec970296940798ee98a5072e">size</a> &lt;&lt; std::endl;</div>
<div class="line"><span class="lineno"> 29</span> }</div>
</div><!-- fragment -->
</div>
</div>
<a id="aef1fc81033eb301d0311edda0337eed4" name="aef1fc81033eb301d0311edda0337eed4"></a>
@@ -271,13 +303,14 @@ template&lt;class ValueType &gt; </div>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00036">36</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 36</span> {</div>
<div class="line"><span class="lineno"> 37</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="#a163eb9a6206c874c9bf98d032fca11c5">isEmptyStack</a>()) {</div>
<div class="line"><span class="lineno"> 38</span> <span class="keywordflow">throw</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a>(<span class="stringliteral">&quot;Stack is empty.&quot;</span>);</div>
<div class="line"><span class="lineno"> 38</span> <span class="keywordflow">throw</span> std::invalid_argument(<span class="stringliteral">&quot;Stack is empty.&quot;</span>);</div>
<div class="line"><span class="lineno"> 39</span> }</div>
<div class="line"><span class="lineno"> 40</span> }</div>
<div class="ttc" id="aclassstack_html_a163eb9a6206c874c9bf98d032fca11c5"><div class="ttname"><a href="#a163eb9a6206c874c9bf98d032fca11c5">stack::isEmptyStack</a></div><div class="ttdeci">bool isEmptyStack() const</div><div class="ttdef"><b>Definition</b> stack.hpp:44</div></div>
<div class="ttc" id="ainvalid_argument_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/invalid_argument.html">std::invalid_argument</a></div></div>
<div class="ttc" id="aclassstack_html_a163eb9a6206c874c9bf98d032fca11c5"><div class="ttname"><a href="#a163eb9a6206c874c9bf98d032fca11c5">stack::isEmptyStack</a></div><div class="ttdeci">bool isEmptyStack() const</div><div class="ttdef"><b>Definition</b> <a href="../../df/d47/stack_8hpp_source.html#l00044">stack.hpp:44</a></div></div>
</div><!-- fragment -->
</div>
</div>
@@ -306,6 +339,8 @@ template&lt;class ValueType &gt; </div>
</table>
</div><div class="memdoc">
<p>Determine whether the stack is empty </p>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00044">44</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 44</span>{ <span class="keywordflow">return</span> (<a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a> == <span class="keyword">nullptr</span>); }</div>
</div><!-- fragment -->
</div>
@@ -335,6 +370,8 @@ template&lt;class ValueType &gt; </div>
</table>
</div><div class="memdoc">
<p>Remove the top element of the stack </p>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00062">62</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 62</span> {</div>
<div class="line"><span class="lineno"> 63</span> ensureNotEmpty();</div>
<div class="line"><span class="lineno"> 64</span> <a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a> = <a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a>-&gt;next;</div>
@@ -368,20 +405,16 @@ template&lt;class ValueType &gt; </div>
</table>
</div><div class="memdoc">
<p>Add new item to the stack </p>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00047">47</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 47</span> {</div>
<div class="line"><span class="lineno"> 48</span> <span class="keyword">auto</span> newNode = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared&lt;Node&lt;value_type&gt;</a>&gt;();</div>
<div class="line"><span class="lineno"> 48</span> <span class="keyword">auto</span> newNode = std::make_shared&lt;Node&lt;value_type&gt;&gt;();</div>
<div class="line"><span class="lineno"> 49</span> newNode-&gt;data = item;</div>
<div class="line"><span class="lineno"> 50</span> newNode-&gt;next = <a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a>;</div>
<div class="line"><span class="lineno"> 51</span> <a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a> = newNode;</div>
<div class="line"><span class="lineno"> 52</span> <a class="code hl_variable" href="#a0a6b2b93ec970296940798ee98a5072e">size</a>++;</div>
<div class="line"><span class="lineno"> 53</span> }</div>
<div class="ttc" id="amake_shared_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared</a></div><div class="ttdeci">T make_shared(T... args)</div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d1/dc2/classstack_a90df277532c23519aa7ac3c08ed90a1d_cgraph.svg" width="274" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div><!-- fragment -->
</div>
</div>
<a id="ae09630c4384903d187801921b2ddc709" name="ae09630c4384903d187801921b2ddc709"></a>
@@ -409,6 +442,8 @@ template&lt;class ValueType &gt; </div>
</table>
</div><div class="memdoc">
<p>Return the top element of the stack </p>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00056">56</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 56</span> {</div>
<div class="line"><span class="lineno"> 57</span> ensureNotEmpty();</div>
<div class="line"><span class="lineno"> 58</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a>-&gt;data;</div>
@@ -428,7 +463,7 @@ template&lt;class ValueType &gt; </div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; value_type &gt; <a class="el" href="../../d1/dc2/classstack.html">stack</a>&lt; ValueType &gt;::toVector </td>
<td class="memname">std::vector&lt; value_type &gt; <a class="el" href="../../d1/dc2/classstack.html">stack</a>&lt; ValueType &gt;::toVector </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
@@ -440,13 +475,43 @@ template&lt;class ValueType &gt; </div>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00031">31</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 31</span> {</div>
<div class="line"><span class="lineno"> 32</span> <span class="keywordflow">return</span> push_all_to_vector(this-&gt;<a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/get.html">get</a>(), this-&gt;size);</div>
<div class="line"><span class="lineno"> 32</span> <span class="keywordflow">return</span> push_all_to_vector(this-&gt;<a class="code hl_variable" href="#aefb3dac828e32b4ec014ff4b5d43a6b8">stackTop</a>.get(), this-&gt;size);</div>
<div class="line"><span class="lineno"> 33</span> }</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a0a6b2b93ec970296940798ee98a5072e" name="a0a6b2b93ec970296940798ee98a5072e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a6b2b93ec970296940798ee98a5072e">&#9670;&#160;</a></span>size</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ValueType &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::size_t <a class="el" href="../../d1/dc2/classstack.html">stack</a>&lt; ValueType &gt;::size = 0</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>size of stack </p>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00077">77</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
</div>
</div>
<a id="aefb3dac828e32b4ec014ff4b5d43a6b8" name="aefb3dac828e32b4ec014ff4b5d43a6b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefb3dac828e32b4ec014ff4b5d43a6b8">&#9670;&#160;</a></span>stackTop</h2>
@@ -459,7 +524,7 @@ template&lt;class ValueType &gt; </div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;<a class="el" href="../../db/d8b/struct_node.html">Node</a>&lt;value_type&gt; &gt; <a class="el" href="../../d1/dc2/classstack.html">stack</a>&lt; ValueType &gt;::stackTop</td>
<td class="memname">std::shared_ptr&lt;<a class="el" href="../../db/d8b/struct_node.html">Node</a>&lt;value_type&gt; &gt; <a class="el" href="../../d1/dc2/classstack.html">stack</a>&lt; ValueType &gt;::stackTop</td>
</tr>
</table>
</td>
@@ -471,7 +536,9 @@ template&lt;class ValueType &gt; </div>
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line"> {}</div>
</div><!-- fragment --><p>Pointer to the stack </p>
<div class="fragment"><div class="line"><span class="lineno"> 76</span> {}; <span class="comment">/**&lt; Pointer to the stack */</span></div>
<p class="definition">Definition at line <a class="el" href="../../df/d47/stack_8hpp_source.html#l00075">75</a> of file <a class="el" href="../../df/d47/stack_8hpp_source.html">stack.hpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 76</span> {}; </div>
</div><!-- fragment -->
</div>
</div>

View File

@@ -1,7 +0,0 @@
<map id="stack::display" name="stack::display">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,31,108,56"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="187,5,258,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="108,33,171,23,172,28,109,38"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/get.html#" title=" " alt="" coords="156,55,290,80"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="109,48,141,53,140,58,108,54"/>
</map>

View File

@@ -1 +0,0 @@
0cde2ffbdb43f96abc212bc9b4a92a8c

View File

@@ -1,83 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
-->
<!-- Title: stack::display Pages: 1 -->
<svg width="222pt" height="64pt"
viewBox="0.00 0.00 221.50 64.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<style type="text/css"><![CDATA[
.node, .edge {opacity: 0.7;}
.node.selected, .edge.selected {opacity: 1;}
.edge:hover path { stroke: red; }
.edge:hover polygon { stroke: red; fill: red; }
]]></style>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 60.25)">
<title>stack::display</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title=" ">
<polygon fill="#999999" stroke="#666666" points="76.75,-37.25 0,-37.25 0,-18 76.75,-18 76.75,-37.25"/>
<text text-anchor="middle" x="38.38" y="-23.75" font-family="Helvetica,sans-Serif" font-size="10.00">stack::display</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="189.88,-56.25 136.38,-56.25 136.38,-37 189.88,-37 189.88,-56.25"/>
<text text-anchor="middle" x="163.12" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.21,-33.48C92.36,-35.83 109.78,-38.52 124.87,-40.86"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="123.98,-44.26 134.4,-42.33 125.05,-37.34 123.98,-44.26"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/get.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="213.5,-19.25 112.75,-19.25 112.75,0 213.5,0 213.5,-19.25"/>
<text text-anchor="middle" x="163.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr::get</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.21,-22.08C84.86,-20.96 93.08,-19.75 101.3,-18.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="101.55,-22.04 110.94,-17.13 100.54,-15.12 101.55,-22.04"/>
</a>
</g>
</g>
</g>
</svg>
</svg>
<style type='text/css'>
<![CDATA[
[data-mouse-over-selected='false'] { opacity: 0.7; }
[data-mouse-over-selected='true'] { opacity: 1.0; }
]]>
</style>
<script type="application/ecmascript"><![CDATA[
document.addEventListener('DOMContentLoaded', (event) => {
highlightEdges();
highlightAdjacentNodes();
});
]]></script>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
-->
<!-- Title: stack::display Pages: 1 -->
<svg width="222pt" height="64pt"
viewBox="0.00 0.00 221.50 64.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 60.25)">
<title>stack::display</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title=" ">
<polygon fill="#999999" stroke="#666666" points="76.75,-37.25 0,-37.25 0,-18 76.75,-18 76.75,-37.25"/>
<text text-anchor="middle" x="38.38" y="-23.75" font-family="Helvetica,sans-Serif" font-size="10.00">stack::display</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="189.88,-56.25 136.38,-56.25 136.38,-37 189.88,-37 189.88,-56.25"/>
<text text-anchor="middle" x="163.12" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.21,-33.48C92.36,-35.83 109.78,-38.52 124.87,-40.86"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="123.98,-44.26 134.4,-42.33 125.05,-37.34 123.98,-44.26"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/get.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="213.5,-19.25 112.75,-19.25 112.75,0 213.5,0 213.5,-19.25"/>
<text text-anchor="middle" x="163.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr::get</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.21,-22.08C84.86,-20.96 93.08,-19.75 101.3,-18.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="101.55,-22.04 110.94,-17.13 100.54,-15.12 101.55,-22.04"/>
</a>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -1,5 +0,0 @@
<map id="stack::push" name="stack::push">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,5,95,31"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="143,5,268,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="95,16,127,16,127,21,95,21"/>
</map>

View File

@@ -1 +0,0 @@
c452f22af36569c5ffe32b3ceccd2756

View File

@@ -1,65 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
-->
<!-- Title: stack::push Pages: 1 -->
<svg width="205pt" height="27pt"
viewBox="0.00 0.00 205.00 27.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<style type="text/css"><![CDATA[
.node, .edge {opacity: 0.7;}
.node.selected, .edge.selected {opacity: 1;}
.edge:hover path { stroke: red; }
.edge:hover polygon { stroke: red; fill: red; }
]]></style>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 23.25)">
<title>stack::push</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title=" ">
<polygon fill="#999999" stroke="#666666" points="67,-19.25 0,-19.25 0,0 67,0 67,-19.25"/>
<text text-anchor="middle" x="33.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stack::push</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="197,-19.25 103,-19.25 103,0 197,0 197,-19.25"/>
<text text-anchor="middle" x="150" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M67.31,-9.62C74.77,-9.62 82.9,-9.62 91.06,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="91.02,-13.13 101.02,-9.63 91.02,-6.13 91.02,-13.13"/>
</a>
</g>
</g>
</g>
</svg>
</svg>
<style type='text/css'>
<![CDATA[
[data-mouse-over-selected='false'] { opacity: 0.7; }
[data-mouse-over-selected='true'] { opacity: 1.0; }
]]>
</style>
<script type="application/ecmascript"><![CDATA[
document.addEventListener('DOMContentLoaded', (event) => {
highlightEdges();
highlightAdjacentNodes();
});
]]></script>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -1,39 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
-->
<!-- Title: stack::push Pages: 1 -->
<svg width="205pt" height="27pt"
viewBox="0.00 0.00 205.00 27.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 23.25)">
<title>stack::push</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title=" ">
<polygon fill="#999999" stroke="#666666" points="67,-19.25 0,-19.25 0,0 67,0 67,-19.25"/>
<text text-anchor="middle" x="33.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stack::push</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="197,-19.25 103,-19.25 103,0 197,0 197,-19.25"/>
<text text-anchor="middle" x="150" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M67.31,-9.62C74.77,-9.62 82.9,-9.62 91.06,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="91.02,-13.13 101.02,-9.63 91.02,-6.13 91.02,-13.13"/>
</a>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB