mirror of
https://github.com/marzer/tomlplusplus.git
synced 2026-01-19 04:52:09 +00:00
deploy: dbc4bcecf2
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -87,7 +87,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<p>The interface of this type is modeled after <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a>, with some additional considerations made for the heterogeneous nature of a TOML array.</p><pre class="m-code"><p class="m-note m-success godbolt"><a class="poxy-external godbolt" href="https://godbolt.org/z/sjK4da" target="_blank">Try this code on Compiler Explorer</a></p><span class="nn">toml</span><span class="o">::</span><span class="nc">table</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nf">parse</span><span class="p">(</span><span class="sa">R</span><span class="s">"</span><span class="dl">(</span>
|
||||
<p>The interface of this type is modeled after <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a>, with some additional considerations made for the heterogeneous nature of a TOML array.</p><pre class="m-code"><p class="m-note m-success poxy-godbolt"><a class="poxy-external poxy-godbolt" href="https://godbolt.org/z/sjK4da" target="_blank">Try this code on Compiler Explorer</a></p><span class="nn">toml</span><span class="o">::</span><span class="nc">table</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nf">parse</span><span class="p">(</span><span class="sa">R</span><span class="s">"</span><span class="dl">(</span>
|
||||
<span class="s"> arr = [1, 2, 3, 4, 'five']</span>
|
||||
<span class="dl">)</span><span class="s">"sv</span><span class="p">);</span>
|
||||
|
||||
@@ -183,13 +183,13 @@
|
||||
<dt id="ab87e435c5a41140e60cd2e703df96fbd">
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ab87e435c5a41140e60cd2e703df96fbd">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1array.html">array</a>& lhs,
|
||||
const <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><T>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
const <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><T>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Initializer list equality operator.</dd>
|
||||
<dt id="a5b3c615e4ba8fd780b966f175070b554">
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5b3c615e4ba8fd780b966f175070b554">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1array.html">array</a>& lhs,
|
||||
const <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><T>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
const <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><T>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Vector equality operator.</dd>
|
||||
</dl>
|
||||
@@ -202,12 +202,12 @@
|
||||
</dt>
|
||||
<dd>Removes all elements from the array.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a22389a9ed9444fe52be10c4acbdec908">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a22389a9ed9444fe52be10c4acbdec908">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the specified element from the array.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a723388860d72c9a162137d0293366fb2">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> first,
|
||||
<a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> last) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a723388860d72c9a162137d0293366fb2">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> first,
|
||||
<a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> last) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the elements in the range [first, last) from the array.</dd>
|
||||
<dt>
|
||||
@@ -237,8 +237,8 @@
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType = void</span>, <span class="m-doc-template-param">typename... Args</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a4110b96386b33097a255f3694ac01d4a">emplace</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
Args && ... args) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a4110b96386b33097a255f3694ac01d4a">emplace</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
Args && ... args) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Emplaces a new element at a specific position in the array.</dd>
|
||||
<dt>
|
||||
@@ -248,32 +248,32 @@
|
||||
<dd>Emplaces a new element at the end of the array.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a17c7e34b433ea8907186dbb1788c9d37">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a17c7e34b433ea8907186dbb1788c9d37">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
ElemType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Inserts a new element at a specific position in the array.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a55a9e6e742e556ea07573d29c23ce7df">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> count,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a55a9e6e742e556ea07573d29c23ce7df">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> count,
|
||||
ElemType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Repeatedly inserts a new element starting at a specific position in the array.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename Iter</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a60a0d39bfd8721cef23e155f5504d54d">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a60a0d39bfd8721cef23e155f5504d54d">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
Iter first,
|
||||
Iter last,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Inserts a range of elements into the array at a specific position.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1baecd5d579afb508886572674b89781">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><ElemType> ilist,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1baecd5d579afb508886572674b89781">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><ElemType> ilist,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Inserts a range of elements into the array at a specific position.</dd>
|
||||
<dt>
|
||||
@@ -284,9 +284,9 @@
|
||||
<dd>Appends a new element to the end of the array.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a37a8a283e6c1cbeef757b2e59489ee6c">replace</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a37a8a283e6c1cbeef757b2e59489ee6c">replace</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
ElemType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Replaces the element at a specific position in the array with a different value.</dd>
|
||||
</dl>
|
||||
@@ -297,33 +297,33 @@
|
||||
<dt id="adfd38318d3390a76f073a83fd2f2aa21">
|
||||
using <a class="m-doc-self" href="#adfd38318d3390a76f073a83fd2f2aa21">const_iterator</a> = <a class="m-doc" href="namespacetoml.html#aeba9fe3a193c8b641a1fb3a2096d7c13">const_<wbr/>array_<wbr/>iterator</a>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/RandomAccessIterator" target="_blank">RandomAccessIterator</a> for iterating over const elements in a <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/RandomAccessIterator" target="_blank">RandomAccessIterator</a> for iterating over const elements in a <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dt id="a62a18471ca7c5b06204d2e26c963f833">
|
||||
using <a class="m-doc-self" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> = <a class="m-doc" href="namespacetoml.html#ac7e383cde1b8d61dba45292b2b0fcb69">array_<wbr/>iterator</a>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/RandomAccessIterator" target="_blank">RandomAccessIterator</a> for iterating over elements in a <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/RandomAccessIterator" target="_blank">RandomAccessIterator</a> for iterating over elements in a <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dt id="a8ee8179ddf1cb44fdf0b8d0700f55c2f">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8ee8179ddf1cb44fdf0b8d0700f55c2f">begin</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8ee8179ddf1cb44fdf0b8d0700f55c2f">begin</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first element.</dd>
|
||||
<dt id="a7cff1526a6d1f6157e0eab231b4757aa">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a7cff1526a6d1f6157e0eab231b4757aa">begin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a7cff1526a6d1f6157e0eab231b4757aa">begin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first element.</dd>
|
||||
<dt id="a56d1cba006dccc5ad9982b58a8b2ddc1">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a56d1cba006dccc5ad9982b58a8b2ddc1">cbegin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a56d1cba006dccc5ad9982b58a8b2ddc1">cbegin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first element.</dd>
|
||||
<dt id="a50e6b032805760f3930e02923d9a84b0">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a50e6b032805760f3930e02923d9a84b0">cend</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a50e6b032805760f3930e02923d9a84b0">cend</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last element.</dd>
|
||||
<dt id="adaf908b0cc3e8bcb1ee9ec9ec706d223">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last element.</dd>
|
||||
<dt id="a778b5b807ff7329f7de10237d73f29c2">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a778b5b807ff7329f7de10237d73f29c2">end</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a778b5b807ff7329f7de10237d73f29c2">end</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last element.</dd>
|
||||
<dt>
|
||||
@@ -361,11 +361,11 @@
|
||||
<h2><a href="#node-views">Node views</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -377,11 +377,11 @@
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -406,7 +406,7 @@
|
||||
<h2><a href="#size-and-capacity">Size and Capacity</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a02b773a1ff337692e78da429030c1610">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a02b773a1ff337692e78da429030c1610">capacity</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a02b773a1ff337692e78da429030c1610">capacity</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the current max number of elements that may be held in the array's internal storage.</dd>
|
||||
<dt id="a5d527ea6bfddad1025e90e4363c822cc">
|
||||
@@ -414,16 +414,16 @@
|
||||
</dt>
|
||||
<dd>Returns true if the array is empty.</dd>
|
||||
<dt id="ae65a76add6d756fc7ba8f12a5aad983c">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae65a76add6d756fc7ba8f12a5aad983c">max_size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae65a76add6d756fc7ba8f12a5aad983c">max_size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the maximum number of elements that can be stored in an array on the current platform.</dd>
|
||||
<dt id="a1ba073adc52c3df5ad29cfd7e5daa1d5">
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc-self" href="#a1ba073adc52c3df5ad29cfd7e5daa1d5">reserve</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_capacity)</span>
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc-self" href="#a1ba073adc52c3df5ad29cfd7e5daa1d5">reserve</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_capacity)</span>
|
||||
</dt>
|
||||
<dd>Reserves internal storage capacity up to a pre-determined number of elements.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc" href="#ab1aca2337ffce7e583a2cf303f16259f">resize</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_size,
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc" href="#ab1aca2337ffce7e583a2cf303f16259f">resize</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_size,
|
||||
ElemType&& default_init_val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> default_init_flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span>
|
||||
</dt>
|
||||
@@ -433,11 +433,11 @@
|
||||
</dt>
|
||||
<dd>Requests the removal of any unused internal storage capacity.</dd>
|
||||
<dt id="af81d7b6a1257ad766a47d9276855a7c9">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af81d7b6a1257ad766a47d9276855a7c9">size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af81d7b6a1257ad766a47d9276855a7c9">size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the number of elements in the array.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc" href="#a6e3ac9962c706a88c1001ff83a4084f3">truncate</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_size)</span>
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc" href="#a6e3ac9962c706a88c1001ff83a4084f3">truncate</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_size)</span>
|
||||
</dt>
|
||||
<dd>Shrinks the array to the given size.</dd>
|
||||
</dl>
|
||||
@@ -496,19 +496,19 @@
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="a41d03d31a6ab168bc4b50046c4bbb50f">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a41d03d31a6ab168bc4b50046c4bbb50f">as_integer</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a41d03d31a6ab168bc4b50046c4bbb50f">as_integer</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="a79871c2b52557b74da8302925b5624ee">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a79871c2b52557b74da8302925b5624ee">as_integer</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a79871c2b52557b74da8302925b5624ee">as_integer</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="a5d4d3b502ef2e33107eb1d682b282c75">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5d4d3b502ef2e33107eb1d682b282c75">as_string</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5d4d3b502ef2e33107eb1d682b282c75">as_string</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="a943378ff5912e9c732b4dee12d4bf2de">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a943378ff5912e9c732b4dee12d4bf2de">as_string</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a943378ff5912e9c732b4dee12d4bf2de">as_string</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="a95985d66ecd4abf6c5822cbd0d239582">
|
||||
@@ -614,13 +614,13 @@
|
||||
<h2><a href="#value-retrieval">Value retrieval</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="aeade4e0cafa3f57b4800e72baa843b1e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aeade4e0cafa3f57b4800e72baa843b1e">at</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aeade4e0cafa3f57b4800e72baa843b1e">at</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the element at a specific index, throwing <code><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dd>Gets a reference to the element at a specific index, throwing <code><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dt id="a8a5957e22aa2d0f4f9e6feaf9bfffa55">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8a5957e22aa2d0f4f9e6feaf9bfffa55">at</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8a5957e22aa2d0f4f9e6feaf9bfffa55">at</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the element at a specific index, throwing <code><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dd>Gets a reference to the element at a specific index, throwing <code><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dt id="a4c58dea5e8795e4b9f8df4f1e1473204">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a4c58dea5e8795e4b9f8df4f1e1473204">back</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -638,29 +638,29 @@
|
||||
</dt>
|
||||
<dd>Returns a reference to the first element in the array.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a10664e00054ea4021fec5144b69b8792">get</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a10664e00054ea4021fec5144b69b8792">get</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a pointer to the element at a specific index.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a44db509dce6b7b77e563c822a5936abe">get</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a44db509dce6b7b77e563c822a5936abe">get</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a pointer to the element at a specific index (const overload).</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5c2f4624498cba9e1e467b0eb2e9046e">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> impl::wrap_node<ElemType>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5c2f4624498cba9e1e467b0eb2e9046e">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> impl::wrap_node<ElemType>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a pointer to the element at a specific index if it is a particular type.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae47ca1cc4c61e94fed30aea72ca8d268">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const impl::wrap_node<ElemType>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae47ca1cc4c61e94fed30aea72ca8d268">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const impl::wrap_node<ElemType>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a pointer to the element at a specific index if it is a particular type (const overload).</dd>
|
||||
<dt id="a853bad0297ca4dcee57c97da2fe318e7">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a853bad0297ca4dcee57c97da2fe318e7">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a853bad0297ca4dcee57c97da2fe318e7">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the element at a specific index.</dd>
|
||||
<dt id="ae9f72a1b877f2ac66327a152d55aa9c6">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae9f72a1b877f2ac66327a152d55aa9c6">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae9f72a1b877f2ac66327a152d55aa9c6">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the element at a specific index.</dd>
|
||||
<dt>
|
||||
@@ -729,8 +729,8 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#af1fae5bb4ad4da74199f0a77170c505e">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1array.html">array</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#af1fae5bb4ad4da74199f0a77170c505e">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1array.html">array</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the array out to a stream as formatted TOML.</dd>
|
||||
</dl>
|
||||
@@ -840,7 +840,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a22389a9ed9444fe52be10c4acbdec908"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a22389a9ed9444fe52be10c4acbdec908">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a22389a9ed9444fe52be10c4acbdec908">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Removes the specified element from the array.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -850,13 +850,13 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">pos</td>
|
||||
<td>Iterator to the element being erased.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the element being erased.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>Iterator to the first element immediately following the removed element.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the first element immediately following the removed element.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -869,8 +869,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a723388860d72c9a162137d0293366fb2"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a723388860d72c9a162137d0293366fb2">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> first,
|
||||
<a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> last) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a723388860d72c9a162137d0293366fb2">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> first,
|
||||
<a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> last) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Removes the elements in the range [first, last) from the array.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -880,17 +880,17 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">first</td>
|
||||
<td>Iterator to the first element being erased.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the first element being erased.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>last</td>
|
||||
<td>Iterator to the one-past-the-last element being erased.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the one-past-the-last element being erased.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>Iterator to the first element immediately following the last removed element.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the first element immediately following the last removed element.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -978,7 +978,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType = void</span>, <span class="m-doc-template-param">typename... Args</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a4110b96386b33097a255f3694ac01d4a">emplace</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a4110b96386b33097a255f3694ac01d4a">emplace</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
Args && ... args)</span></span>
|
||||
</h3>
|
||||
<p>Emplaces a new element at a specific position in the array.</p>
|
||||
@@ -1018,9 +1018,9 @@
|
||||
</table>
|
||||
<pre class="m-code"><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span> <span class="p">};</span>
|
||||
|
||||
<span class="c1">//add a string using <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>'s substring constructor</span>
|
||||
<span class="c1">//add a string using <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>'s substring constructor</span>
|
||||
<span class="n">arr</span><span class="p">.</span><span class="n">emplace</span><span class="o"><</span><span class="nn">std</span><span class="o">::</span><span class="nc">string</span><span class="o">></span><span class="p">(</span><span class="n">arr</span><span class="p">.</span><span class="nf">cbegin</span><span class="p">()</span> <span class="o">+</span> <span class="mi">1</span><span class="p">,</span> <span class="s">"this is not a drill"sv</span><span class="p">,</span> <span class="mi">14</span><span class="p">,</span> <span class="mi">5</span><span class="p">);</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">[ 1, 'drill', 2 ]</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>There is no difference between <a class="m-doc" href="classtoml_1_1array.html#a17c7e34b433ea8907186dbb1788c9d37">insert()</a> and <a class="m-doc" href="classtoml_1_1array.html#a4110b96386b33097a255f3694ac01d4a">emplace()</a> for trivial value types (floats, ints, bools).</p></aside>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">[ 1, 'drill', 2 ]</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>There is no difference between <a class="m-doc" href="#a17c7e34b433ea8907186dbb1788c9d37">insert()</a> and <a class="m-doc" href="#a4110b96386b33097a255f3694ac01d4a">emplace()</a> for trivial value types (floats, ints, bools).</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ad1383e120e7f8d8fe54e07dab164bd6d"><div>
|
||||
<h3>
|
||||
@@ -1062,14 +1062,14 @@
|
||||
</table>
|
||||
<pre class="m-code"><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span> <span class="p">};</span>
|
||||
<span class="n">arr</span><span class="p">.</span><span class="n">emplace_back</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="o">></span><span class="p">(</span><span class="mi">3</span><span class="p">,</span> <span class="s">"four"sv</span><span class="p">);</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">[ 1, 2, [ 3, 'four' ] ]</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>There is no difference between <a class="m-doc" href="classtoml_1_1array.html#ab7188537b351ef3a756b54b83e4b05b3">push_<wbr/>back()</a> and <a class="m-doc" href="classtoml_1_1array.html#ad1383e120e7f8d8fe54e07dab164bd6d">emplace_<wbr/>back()</a> For trivial value types (floats, ints, bools).</p></aside>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">[ 1, 2, [ 3, 'four' ] ]</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>There is no difference between <a class="m-doc" href="#ab7188537b351ef3a756b54b83e4b05b3">push_<wbr/>back()</a> and <a class="m-doc" href="#ad1383e120e7f8d8fe54e07dab164bd6d">emplace_<wbr/>back()</a> For trivial value types (floats, ints, bools).</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a17c7e34b433ea8907186dbb1788c9d37"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a17c7e34b433ea8907186dbb1788c9d37">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a17c7e34b433ea8907186dbb1788c9d37">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
ElemType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span></span>
|
||||
</h3>
|
||||
@@ -1105,22 +1105,22 @@
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td><strong><em>Valid input:</em></strong> An iterator to the newly-inserted element. <strong><em>Input is a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>:</em></strong>
|
||||
<a class="m-doc" href="classtoml_1_1array.html#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></td>
|
||||
<a class="m-doc" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<pre class="m-code"><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">3</span> <span class="p">};</span>
|
||||
<span class="n">arr</span><span class="p">.</span><span class="nf">insert</span><span class="p">(</span><span class="n">arr</span><span class="p">.</span><span class="nf">cbegin</span><span class="p">()</span> <span class="o">+</span> <span class="mi">1</span><span class="p">,</span> <span class="s">"two"</span><span class="p">);</span>
|
||||
<span class="n">arr</span><span class="p">.</span><span class="nf">insert</span><span class="p">(</span><span class="n">arr</span><span class="p">.</span><span class="nf">cend</span><span class="p">(),</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">5</span> <span class="p">});</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">[ 1, 'two', 3, [ 4, 5 ] ]</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code><a class="m-doc" href="classtoml_1_1array.html#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></code> if the input value was a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no insertion can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">[ 1, 'two', 3, [ 4, 5 ] ]</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code><a class="m-doc" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></code> if the input value was a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no insertion can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a55a9e6e742e556ea07573d29c23ce7df"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a55a9e6e742e556ea07573d29c23ce7df">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> count,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a55a9e6e742e556ea07573d29c23ce7df">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> count,
|
||||
ElemType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span></span>
|
||||
</h3>
|
||||
@@ -1160,7 +1160,7 @@
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td><strong><em>Valid input:</em></strong> An iterator to the newly-inserted element. <strong><em>count == 0:</em></strong> A copy of pos <strong><em>Input is a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>:</em></strong>
|
||||
<a class="m-doc" href="classtoml_1_1array.html#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></td>
|
||||
<a class="m-doc" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -1175,14 +1175,14 @@
|
||||
<span class="go"> 'honk',</span>
|
||||
<span class="go"> 'honk',</span>
|
||||
<span class="go"> 'and immediately we knew peace was never an option.'</span>
|
||||
<span class="go">]</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code><a class="m-doc" href="classtoml_1_1array.html#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></code> if the input value was a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no insertion can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
<span class="go">]</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code><a class="m-doc" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></code> if the input value was a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no insertion can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a60a0d39bfd8721cef23e155f5504d54d"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename Iter</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a60a0d39bfd8721cef23e155f5504d54d">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a60a0d39bfd8721cef23e155f5504d54d">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
Iter first,
|
||||
Iter last,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span></span>
|
||||
@@ -1195,7 +1195,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">Iter</td>
|
||||
<td>An iterator type. Must satisfy <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/ForwardIterator" target="_blank">ForwardIterator</a>.</td>
|
||||
<td>An iterator type. Must satisfy <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/ForwardIterator" target="_blank">ForwardIterator</a>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
@@ -1208,11 +1208,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>first</td>
|
||||
<td>Iterator to the first node or value being inserted.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the first node or value being inserted.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>last</td>
|
||||
<td>Iterator to the one-past-the-last node or value being inserted.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the one-past-the-last node or value being inserted.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>flags</td>
|
||||
@@ -1232,8 +1232,8 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1baecd5d579afb508886572674b89781">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><ElemType> ilist,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1baecd5d579afb508886572674b89781">insert</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><ElemType> ilist,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span></span>
|
||||
</h3>
|
||||
<p>Inserts a range of elements into the array at a specific position.</p>
|
||||
@@ -1316,7 +1316,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1array.html#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a37a8a283e6c1cbeef757b2e59489ee6c">replace</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1array.html#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a62a18471ca7c5b06204d2e26c963f833">iterator</a> toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a37a8a283e6c1cbeef757b2e59489ee6c">replace</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#adfd38318d3390a76f073a83fd2f2aa21">const_<wbr/>iterator</a> pos,
|
||||
ElemType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span></span>
|
||||
</h3>
|
||||
@@ -1352,7 +1352,7 @@
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td><strong><em>Valid input:</em></strong> An iterator to the replaced element. <strong><em>Input is a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>:</em></strong>
|
||||
<a class="m-doc" href="classtoml_1_1array.html#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></td>
|
||||
<a class="m-doc" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -1360,7 +1360,7 @@
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="n">arr</span><span class="p">.</span><span class="nf">replace</span><span class="p">(</span><span class="n">arr</span><span class="p">.</span><span class="nf">cbegin</span><span class="p">()</span> <span class="o">+</span> <span class="mi">1</span><span class="p">,</span> <span class="s">"two"</span><span class="p">);</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">[ 1, 2, 3 ]</span>
|
||||
<span class="go">[ 1, 'two', 3 ]</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code><a class="m-doc" href="classtoml_1_1array.html#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></code> if the input value was a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no replacement can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
<span class="go">[ 1, 'two', 3 ]</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code><a class="m-doc" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end()</a></code> if the input value was a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no replacement can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a1154a3d27b1af41ffaa498c8d6070b88"><div>
|
||||
<h3>
|
||||
@@ -1377,7 +1377,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">Func</td>
|
||||
<td><p>A callable type invocable with one of the following signatures:</p><ul><li><code>func(elem, index)</code></li><li><code>func(elem)</code></li><li><code>func(index, elem)</code></li></ul><p>Where:</p><ul><li><code>elem</code> will recieve the element as it's concrete type with cvref-qualifications matching the array</li><li><code>index</code> will recieve a <code><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a></code> indicating the element's index</li></ul><p>Visitors returning <code>bool</code> (or something convertible to <code>bool</code>) will cause iteration to stop if they return <code>false</code>.</p></td>
|
||||
<td><p>A callable type invocable with one of the following signatures:</p><ul><li><code>func(elem, index)</code></li><li><code>func(elem)</code></li><li><code>func(index, elem)</code></li></ul><p>Where:</p><ul><li><code>elem</code> will recieve the element as it's concrete type with cvref-qualifications matching the array</li><li><code>index</code> will recieve a <code><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a></code> indicating the element's index</li></ul><p>Visitors returning <code>bool</code> (or something convertible to <code>bool</code>) will cause iteration to stop if they return <code>false</code>.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
@@ -1399,7 +1399,7 @@
|
||||
<pre class="m-code"><span class="nn">toml</span><span class="o">::</span><span class="nc">array</span> <span class="n">arr</span><span class="p">{</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mf">3.0</span><span class="p">,</span> <span class="s">"four"</span><span class="p">,</span> <span class="s">"five"</span><span class="p">,</span> <span class="mi">6</span> <span class="p">};</span>
|
||||
|
||||
<span class="c1">// select only the integers using a strongly-typed visitor</span>
|
||||
<span class="n">arr</span><span class="p">.</span><span class="nf">for_each</span><span class="p">([](</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>&</span> <span class="n">elem</span><span class="p">)</span>
|
||||
<span class="n">arr</span><span class="p">.</span><span class="nf">for_each</span><span class="p">([](</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>&</span> <span class="n">elem</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">elem</span> <span class="o"><<</span> <span class="s">", "</span><span class="p">;</span>
|
||||
<span class="p">});</span>
|
||||
@@ -1434,7 +1434,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">void toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ab1aca2337ffce7e583a2cf303f16259f">resize</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_size,
|
||||
<span class="m-doc-wrap-bumper">void toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ab1aca2337ffce7e583a2cf303f16259f">resize</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_size,
|
||||
ElemType&& default_init_val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> default_init_flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span></span>
|
||||
</h3>
|
||||
@@ -1467,7 +1467,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<pre class="m-code"><p class="m-note m-success godbolt"><a class="poxy-external godbolt" href="https://godbolt.org/z/W5zqx3" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span> <span class="p">};</span>
|
||||
<pre class="m-code"><p class="m-note m-success poxy-godbolt"><a class="poxy-external poxy-godbolt" href="https://godbolt.org/z/W5zqx3" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span> <span class="p">};</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
|
||||
<span class="n">arr</span><span class="p">.</span><span class="nf">resize</span><span class="p">(</span><span class="mi">6</span><span class="p">,</span> <span class="mi">42</span><span class="p">);</span>
|
||||
@@ -1480,10 +1480,10 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a6e3ac9962c706a88c1001ff83a4084f3"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">void toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a6e3ac9962c706a88c1001ff83a4084f3">truncate</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_size)</span></span>
|
||||
<span class="m-doc-wrap-bumper">void toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a6e3ac9962c706a88c1001ff83a4084f3">truncate</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_size)</span></span>
|
||||
</h3>
|
||||
<p>Shrinks the array to the given size.</p>
|
||||
<pre class="m-code"><p class="m-note m-success godbolt"><a class="poxy-external godbolt" href="https://godbolt.org/z/rxEzK5" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span> <span class="p">};</span>
|
||||
<pre class="m-code"><p class="m-note m-success poxy-godbolt"><a class="poxy-external poxy-godbolt" href="https://godbolt.org/z/rxEzK5" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span> <span class="p">};</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">arr</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
|
||||
<span class="n">arr</span><span class="p">.</span><span class="nf">truncate</span><span class="p">(</span><span class="mi">5</span><span class="p">);</span> <span class="c1">// no-op</span>
|
||||
@@ -1565,7 +1565,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a10664e00054ea4021fec5144b69b8792"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a10664e00054ea4021fec5144b69b8792">get</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a10664e00054ea4021fec5144b69b8792">get</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets a pointer to the element at a specific index.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1597,7 +1597,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a44db509dce6b7b77e563c822a5936abe"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a44db509dce6b7b77e563c822a5936abe">get</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a44db509dce6b7b77e563c822a5936abe">get</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets a pointer to the element at a specific index (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1623,7 +1623,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">impl::wrap_node<ElemType>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5c2f4624498cba9e1e467b0eb2e9046e">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper">impl::wrap_node<ElemType>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5c2f4624498cba9e1e467b0eb2e9046e">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets a pointer to the element at a specific index if it is a particular type.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1653,7 +1653,7 @@
|
||||
</tfoot>
|
||||
</table>
|
||||
<pre class="m-code"><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">42</span><span class="p">,</span> <span class="s">"is the meaning of life, apparently."sv</span> <span class="p">};</span>
|
||||
<span class="k">if</span> <span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>*</span> <span class="n">val</span> <span class="o">=</span> <span class="n">arr</span><span class="p">.</span><span class="n">get_as</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">(</span><span class="mi">0</span><span class="p">))</span>
|
||||
<span class="k">if</span> <span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>*</span> <span class="n">val</span> <span class="o">=</span> <span class="n">arr</span><span class="p">.</span><span class="n">get_as</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">(</span><span class="mi">0</span><span class="p">))</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"element [0] is an integer with value "sv</span> <span class="o"><<</span> <span class="o">*</span><span class="n">val</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">element [0] is an integer with value 42</span></pre>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ae47ca1cc4c61e94fed30aea72ca8d268"><div>
|
||||
@@ -1661,7 +1661,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">const impl::wrap_node<ElemType>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae47ca1cc4c61e94fed30aea72ca8d268">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper">const impl::wrap_node<ElemType>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae47ca1cc4c61e94fed30aea72ca8d268">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets a pointer to the element at a specific index if it is a particular type (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1693,7 +1693,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="af1fae5bb4ad4da74199f0a77170c505e"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#af1fae5bb4ad4da74199f0a77170c505e">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#af1fae5bb4ad4da74199f0a77170c505e">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1array.html">array</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints the array out to a stream as formatted TOML.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -110,12 +110,12 @@
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#ade267ecca82e3bbac3d1392abab91be9">json_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">toml::<wbr/>node</a>& source,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1json__formatter.html#a4541a4662894ce8936f6f2c3ab90fe2e">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#a4541a4662894ce8936f6f2c3ab90fe2e">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs a JSON formatter and binds it to a TOML object.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a51785aa8ef373a9136e896fafabd53be">json_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>& result,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1json__formatter.html#a4541a4662894ce8936f6f2c3ab90fe2e">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#a4541a4662894ce8936f6f2c3ab90fe2e">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs a JSON formatter and binds it to a <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>.</dd>
|
||||
</dl>
|
||||
@@ -124,13 +124,13 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a2b88bc230c589c1fad25ffd8df96b74e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a2b88bc230c589c1fad25ffd8df96b74e">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1json__formatter.html">json_<wbr/>formatter</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a2b88bc230c589c1fad25ffd8df96b74e">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1json__formatter.html">json_<wbr/>formatter</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the bound TOML object out to the stream as JSON.</dd>
|
||||
<dt id="a5eefe4e5ca640b12fbb09fd521eab335">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5eefe4e5ca640b12fbb09fd521eab335">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1json__formatter.html">json_<wbr/>formatter</a>&& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5eefe4e5ca640b12fbb09fd521eab335">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1json__formatter.html">json_<wbr/>formatter</a>&& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the bound TOML object out to the stream as JSON (rvalue overload).</dd>
|
||||
</dl>
|
||||
@@ -140,7 +140,7 @@
|
||||
<section class="m-doc-details" id="ade267ecca82e3bbac3d1392abab91be9"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>json_formatter::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ade267ecca82e3bbac3d1392abab91be9">json_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">toml::<wbr/>node</a>& source,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1json__formatter.html#a4541a4662894ce8936f6f2c3ab90fe2e">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#a4541a4662894ce8936f6f2c3ab90fe2e">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Constructs a JSON formatter and binds it to a TOML object.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -162,7 +162,7 @@
|
||||
<section class="m-doc-details" id="a51785aa8ef373a9136e896fafabd53be"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>json_formatter::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a51785aa8ef373a9136e896fafabd53be">json_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>& result,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1json__formatter.html#a4541a4662894ce8936f6f2c3ab90fe2e">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#a4541a4662894ce8936f6f2c3ab90fe2e">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Constructs a JSON formatter and binds it to a <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -96,22 +96,22 @@
|
||||
</dt>
|
||||
<dd>Default constructor.</dd>
|
||||
<dt id="a5119f122c15687a2f0f81b270a627de2">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5119f122c15687a2f0f81b270a627de2">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> k,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5119f122c15687a2f0f81b270a627de2">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> k,
|
||||
<a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>&& src = {}) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
</dt>
|
||||
<dd>Constructs a key from a string view and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</dd>
|
||||
<dt id="a0718eb26f4d9c1a4c0fb928efb0d6f81">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0718eb26f4d9c1a4c0fb928efb0d6f81">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> k,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0718eb26f4d9c1a4c0fb928efb0d6f81">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> k,
|
||||
const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>& src) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
</dt>
|
||||
<dd>Constructs a key from a string view and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</dd>
|
||||
<dt id="a788b1bbeaf636dccc4a78f832bf123e0">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a788b1bbeaf636dccc4a78f832bf123e0">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& k,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a788b1bbeaf636dccc4a78f832bf123e0">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& k,
|
||||
<a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>&& src = {}) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs a key from a string and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</dd>
|
||||
<dt id="ab86ff590f222d57b8f4630901298d8da">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ab86ff590f222d57b8f4630901298d8da">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& k,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ab86ff590f222d57b8f4630901298d8da">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& k,
|
||||
const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>& src) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs a key from a string and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</dd>
|
||||
@@ -126,12 +126,12 @@
|
||||
</dt>
|
||||
<dd>Constructs a key from a c-string view and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a67cfed717c84773ab3fe6ec1b7936fa7">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> k,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a67cfed717c84773ab3fe6ec1b7936fa7">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> k,
|
||||
<a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>&& src = {}) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
</dt>
|
||||
<dd>Constructs a key from a wide string view and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#aba2cb69db8cae7cbc60899a0ee7618d3">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> k,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#aba2cb69db8cae7cbc60899a0ee7618d3">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> k,
|
||||
const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>& src) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
</dt>
|
||||
<dd>Constructs a key from a wide string and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</dd>
|
||||
@@ -148,11 +148,11 @@
|
||||
<dd>Returns true if <code>lhs.str() != rhs.str()</code>.</dd>
|
||||
<dt id="a24ea2ab9799ab7fec679f2dae3afccf2">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a24ea2ab9799ab7fec679f2dae3afccf2">operator!=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1key.html">key</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs.str() != rhs</code>.</dd>
|
||||
<dt id="a165b2057b0144350b1c291ffb0956122">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a165b2057b0144350b1c291ffb0956122">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a165b2057b0144350b1c291ffb0956122">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1key.html">key</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs != rhs.str()</code>.</dd>
|
||||
@@ -163,11 +163,11 @@
|
||||
<dd>Returns true if <code>lhs.str() < rhs.str()</code>.</dd>
|
||||
<dt id="a5578fc46610d6f6e684fbffdf3f61a44">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5578fc46610d6f6e684fbffdf3f61a44">operator<</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1key.html">key</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs.str() < rhs</code>.</dd>
|
||||
<dt id="a1bacd712822950e9594fd288a236c9cb">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1bacd712822950e9594fd288a236c9cb">operator<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1bacd712822950e9594fd288a236c9cb">operator<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1key.html">key</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs < rhs.str()</code>.</dd>
|
||||
@@ -178,11 +178,11 @@
|
||||
<dd>Returns true if <code>lhs.str() <= rhs.str()</code>.</dd>
|
||||
<dt id="a9c59103b835fb600dbb6c808f8c4f8a8">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9c59103b835fb600dbb6c808f8c4f8a8">operator<=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1key.html">key</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs.str() <= rhs</code>.</dd>
|
||||
<dt id="a780d9a226184919f080acf0b0a676400">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a780d9a226184919f080acf0b0a676400">operator<=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a780d9a226184919f080acf0b0a676400">operator<=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1key.html">key</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs <= rhs.str()</code>.</dd>
|
||||
@@ -193,11 +193,11 @@
|
||||
<dd>Returns true if <code>lhs.str() == rhs.str()</code>.</dd>
|
||||
<dt id="a545b27567960385af1c8ae669029d7dd">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a545b27567960385af1c8ae669029d7dd">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1key.html">key</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs.str() == rhs</code>.</dd>
|
||||
<dt id="aed4a71da8d0ffb75d847ab2c26948a1c">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aed4a71da8d0ffb75d847ab2c26948a1c">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aed4a71da8d0ffb75d847ab2c26948a1c">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1key.html">key</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs == rhs.str()</code>.</dd>
|
||||
@@ -208,11 +208,11 @@
|
||||
<dd>Returns true if <code>lhs.str() > rhs.str()</code>.</dd>
|
||||
<dt id="ad48d1d36a11a9434bc339987838b08f6">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ad48d1d36a11a9434bc339987838b08f6">operator></a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1key.html">key</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs.str() > rhs</code>.</dd>
|
||||
<dt id="aa85755cf51a2ee6d616aa03a8de8b4b0">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa85755cf51a2ee6d616aa03a8de8b4b0">operator></a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa85755cf51a2ee6d616aa03a8de8b4b0">operator></a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1key.html">key</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs > rhs.str()</code>.</dd>
|
||||
@@ -223,11 +223,11 @@
|
||||
<dd>Returns true if <code>lhs.str() >= rhs.str()</code>.</dd>
|
||||
<dt id="a61e19637671ad5c5856eafd5753e9b65">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a61e19637671ad5c5856eafd5753e9b65">operator>=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1key.html">key</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs.str() >= rhs</code>.</dd>
|
||||
<dt id="aa89096b9f6b364702858f2dc6734987a">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa89096b9f6b364702858f2dc6734987a">operator>=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa89096b9f6b364702858f2dc6734987a">operator>=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1key.html">key</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if <code>lhs >= rhs.str()</code>.</dd>
|
||||
@@ -241,15 +241,15 @@
|
||||
</dt>
|
||||
<dd>A const iterator for iterating over the characters in the key.</dd>
|
||||
<dt id="a40c42bc323383db54972b5752b9ad4dd">
|
||||
using <a class="m-doc-self" href="#a40c42bc323383db54972b5752b9ad4dd">iterator</a> = <a class="m-doc" href="classtoml_1_1key.html#a38a33d5010936195ac2083e428165512">const_<wbr/>iterator</a>
|
||||
using <a class="m-doc-self" href="#a40c42bc323383db54972b5752b9ad4dd">iterator</a> = <a class="m-doc" href="#a38a33d5010936195ac2083e428165512">const_<wbr/>iterator</a>
|
||||
</dt>
|
||||
<dd>A const iterator for iterating over the characters in the key.</dd>
|
||||
<dt id="ab1691956be4ffe1c604e8e66acdc237e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ab1691956be4ffe1c604e8e66acdc237e">begin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1key.html#a38a33d5010936195ac2083e428165512">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ab1691956be4ffe1c604e8e66acdc237e">begin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#a38a33d5010936195ac2083e428165512">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first character in the key's backing string.</dd>
|
||||
<dt id="a9b37a10b4aff1e6e7902301789f579c8">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9b37a10b4aff1e6e7902301789f579c8">end</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1key.html#a38a33d5010936195ac2083e428165512">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9b37a10b4aff1e6e7902301789f579c8">end</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#a38a33d5010936195ac2083e428165512">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last character in the key's backing string.</dd>
|
||||
</dl>
|
||||
@@ -275,7 +275,7 @@
|
||||
</dt>
|
||||
<dd>Returns true if the key's underlying string is empty.</dd>
|
||||
<dt id="a5ffa3226fa66f1be190178572a87a000">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5ffa3226fa66f1be190178572a87a000">length</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5ffa3226fa66f1be190178572a87a000">length</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the length of the key's underlying string.</dd>
|
||||
<dt id="a0f580806c0894ea820c533a9f6e0fa91">
|
||||
@@ -283,7 +283,7 @@
|
||||
</dt>
|
||||
<dd>Returns a view of the key's underlying string.</dd>
|
||||
<dt id="a0ca779e816081627f78965683182d4dc">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a0ca779e816081627f78965683182d4dc">str</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a0ca779e816081627f78965683182d4dc">str</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the key's underlying string.</dd>
|
||||
</dl>
|
||||
@@ -292,8 +292,8 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a78eb7afc69ecd78f4f6ded062f2f7ea7">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a78eb7afc69ecd78f4f6ded062f2f7ea7">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1key.html">key</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a78eb7afc69ecd78f4f6ded062f2f7ea7">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1key.html">key</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the key's underlying string out to the stream.</dd>
|
||||
</dl>
|
||||
@@ -302,7 +302,7 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a67cfed717c84773ab3fe6ec1b7936fa7"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>key::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a67cfed717c84773ab3fe6ec1b7936fa7">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> k,
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>key::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a67cfed717c84773ab3fe6ec1b7936fa7">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> k,
|
||||
<a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>&& src = {}) <span class="m-label m-info">explicit</span> </span></span>
|
||||
</h3>
|
||||
<p>Constructs a key from a wide string view and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</p>
|
||||
@@ -310,7 +310,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aba2cb69db8cae7cbc60899a0ee7618d3"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>key::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aba2cb69db8cae7cbc60899a0ee7618d3">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> k,
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>key::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aba2cb69db8cae7cbc60899a0ee7618d3">key</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> k,
|
||||
const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>& src) <span class="m-label m-info">explicit</span> </span></span>
|
||||
</h3>
|
||||
<p>Constructs a key from a wide string and <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a>.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -111,11 +111,11 @@
|
||||
<h2><a href="#node-views">Node views</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -127,11 +127,11 @@
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt id="ac7d6979c7246d7faee8ca48aadfcee68">
|
||||
@@ -206,21 +206,21 @@
|
||||
</dt>
|
||||
<dd>Returns a const-qualified pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><double>, if it is one.</dd>
|
||||
<dt id="a9e1419c3f99eda7767d114095b1ad793">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9e1419c3f99eda7767d114095b1ad793">as_integer</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9e1419c3f99eda7767d114095b1ad793">as_integer</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, if it is one.</dd>
|
||||
<dd>Returns a pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, if it is one.</dd>
|
||||
<dt id="a43bea93af60b57ecc98efaf50dccfe9b">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a43bea93af60b57ecc98efaf50dccfe9b">as_integer</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a43bea93af60b57ecc98efaf50dccfe9b">as_integer</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const-qualified pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, if it is one.</dd>
|
||||
<dd>Returns a const-qualified pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, if it is one.</dd>
|
||||
<dt id="a8560597586915efad21f288f591c23cd">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8560597586915efad21f288f591c23cd">as_string</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8560597586915efad21f288f591c23cd">as_string</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>>, if it is one.</dd>
|
||||
<dd>Returns a pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>>, if it is one.</dd>
|
||||
<dt id="a47c55af38414fdb32075c378b3405bfa">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a47c55af38414fdb32075c378b3405bfa">as_string</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a47c55af38414fdb32075c378b3405bfa">as_string</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const-qualified pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>>, if it is one.</dd>
|
||||
<dd>Returns a const-qualified pointer to the node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>>, if it is one.</dd>
|
||||
<dt id="ac0ca09368b80436100a1eb042daccacc">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ac0ca09368b80436100a1eb042daccacc">as_table</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1table.html">table</a>* <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -389,7 +389,7 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a20a0cfac8f31649544db5d9eead609f9"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -421,10 +421,10 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="acf55d2ffe0c31b6a8507fb1265444be2"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a20a0cfac8f31649544db5d9eead609f9">at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aef68f74119416a0a6d0a62f0f7d8d4ea"><div>
|
||||
<h3>
|
||||
@@ -467,21 +467,21 @@
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#afbd39cca3959da4a1d8e1d220b6abe83">at_path</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a>& path) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#aef68f74119416a0a6d0a62f0f7d8d4ea">at_path(const toml::<wbr/>path&)</a></p></aside>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#aef68f74119416a0a6d0a62f0f7d8d4ea">at_path(const toml::<wbr/>path&)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a9b4d952e01bd2fafe7c307d61d4a247f"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path)</span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a20a0cfac8f31649544db5d9eead609f9">at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aca7e24cd0070ce226defd71eb501c4cd"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const</span></span>
|
||||
</h3>
|
||||
<p>Returns a const view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a20a0cfac8f31649544db5d9eead609f9">at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a8c3214e47f056a3a9bcdb66edd7fa97f"><div>
|
||||
<h3>
|
||||
@@ -556,17 +556,17 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<pre class="m-code"><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>*</span> <span class="n">int_value</span> <span class="o">=</span> <span class="n">node</span><span class="o">-></span><span class="n">as</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">();</span>
|
||||
<pre class="m-code"><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>*</span> <span class="n">int_value</span> <span class="o">=</span> <span class="n">node</span><span class="o">-></span><span class="n">as</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">();</span>
|
||||
<span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="o">*</span> <span class="n">tbl</span> <span class="o">=</span> <span class="n">node</span><span class="o">-></span><span class="n">as</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="o">></span><span class="p">();</span>
|
||||
<span class="k">if</span> <span class="p">(</span><span class="n">int_value</span><span class="p">)</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"Node is a value<<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>></span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"Node is a value<<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>></span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="k">else</span> <span class="k">if</span> <span class="p">(</span><span class="n">tbl</span><span class="p">)</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"Node is a table</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
|
||||
<span class="c1">// fully-qualified value node types also work (useful for template code):</span>
|
||||
<span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>*</span> <span class="n">int_value2</span> <span class="o">=</span> <span class="n">node</span><span class="o">-></span><span class="n">as</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>></span><span class="p">();</span>
|
||||
<span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>*</span> <span class="n">int_value2</span> <span class="o">=</span> <span class="n">node</span><span class="o">-></span><span class="n">as</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>></span><span class="p">();</span>
|
||||
<span class="k">if</span> <span class="p">(</span><span class="n">int_value2</span><span class="p">)</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"Node is a value<<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>></span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"Node is a value<<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>></span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a03e1bbe1a0640953b7105fe40c733118"><div>
|
||||
<h3>
|
||||
@@ -692,7 +692,7 @@
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"homogenous: "sv</span> <span class="o"><<</span> <span class="n">arr</span><span class="p">.</span><span class="nf">is_homogeneous</span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"all doubles: "sv</span> <span class="o"><<</span> <span class="n">arr</span><span class="p">.</span><span class="n">is_homogeneous</span><span class="o"><</span><span class="k">double</span><span class="o">></span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"all arrays: "sv</span> <span class="o"><<</span> <span class="n">arr</span><span class="p">.</span><span class="n">is_homogeneous</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="o">></span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"all integers: "sv</span> <span class="o"><<</span> <span class="n">arr</span><span class="p">.</span><span class="n">is_homogeneous</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">homogeneous: true</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"all integers: "sv</span> <span class="o"><<</span> <span class="n">arr</span><span class="p">.</span><span class="n">is_homogeneous</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">homogeneous: true</span>
|
||||
<span class="go">all floats: false</span>
|
||||
<span class="go">all arrays: false</span>
|
||||
<span class="go">all ints: true</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>Always returns <code>false</code> for empty tables and arrays.</p></aside>
|
||||
@@ -727,8 +727,8 @@
|
||||
<span class="s"> max = 45</span>
|
||||
<span class="dl">)</span><span class="s">"sv</span><span class="p">);</span>
|
||||
|
||||
<span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">&</span> <span class="n">min_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">.</span><span class="nf">at</span><span class="p">(</span><span class="s">"min"</span><span class="p">).</span><span class="n">ref</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">();</span> <span class="c1">// matching type</span>
|
||||
<span class="k">double</span><span class="o">&</span> <span class="n">max_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">.</span><span class="nf">at</span><span class="p">(</span><span class="s">"max"</span><span class="p">).</span><span class="n">ref</span><span class="o"><</span><span class="k">double</span><span class="o">></span><span class="p">();</span> <span class="c1">// mismatched type, hits assert()</span></pre></aside><aside class="m-note m-info"><h4>Note</h4><p>Specifying explicit ref qualifiers acts as an explicit ref-category cast, whereas specifying explicit cv-ref qualifiers merges them with whatever the cv qualification of the node is (to ensure cv-correctness is propagated), e.g.:</p><table class="m-table"><thead><tr><th>node</th><th>T</th><th>return type</th></tr></thead><tbody><tr><td>node&</td><td><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></td><td><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&</td></tr><tr><td>node&</td><td><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td><td><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td></tr><tr><td>const node&</td><td>volatile <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></td><td>const volatile <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&</td></tr><tr><td>const node&</td><td>volatile <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td><td>const volatile <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td></tr></tbody></table></aside>
|
||||
<span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">&</span> <span class="n">min_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">.</span><span class="nf">at</span><span class="p">(</span><span class="s">"min"</span><span class="p">).</span><span class="n">ref</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">();</span> <span class="c1">// matching type</span>
|
||||
<span class="k">double</span><span class="o">&</span> <span class="n">max_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">.</span><span class="nf">at</span><span class="p">(</span><span class="s">"max"</span><span class="p">).</span><span class="n">ref</span><span class="o"><</span><span class="k">double</span><span class="o">></span><span class="p">();</span> <span class="c1">// mismatched type, hits assert()</span></pre></aside><aside class="m-note m-info"><h4>Note</h4><p>Specifying explicit ref qualifiers acts as an explicit ref-category cast, whereas specifying explicit cv-ref qualifiers merges them with whatever the cv qualification of the node is (to ensure cv-correctness is propagated), e.g.:</p><table class="m-table"><thead><tr><th>node</th><th>T</th><th>return type</th></tr></thead><tbody><tr><td>node&</td><td><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></td><td><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&</td></tr><tr><td>node&</td><td><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td><td><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td></tr><tr><td>const node&</td><td>volatile <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></td><td>const volatile <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&</td></tr><tr><td>const node&</td><td>volatile <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td><td>const volatile <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td></tr></tbody></table></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a0b717d136b8a8b6f142a56056a570fed"><div>
|
||||
<h3>
|
||||
@@ -755,7 +755,7 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<p>This function has 'permissive' retrieval semantics; some value types are allowed to convert to others (e.g. retrieving a boolean as an integer), and the specified return value type can be any type where a reasonable conversion from a native TOML value exists (e.g. <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> on Windows). If the source value cannot be represented by the destination type, an empty optional is returned.</p><pre class="m-code"><p class="m-note m-success godbolt"><a class="poxy-external godbolt" href="https://godbolt.org/z/zzG81K" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nf">parse</span><span class="p">(</span><span class="sa">R</span><span class="s">"</span><span class="dl">(</span>
|
||||
<p>This function has 'permissive' retrieval semantics; some value types are allowed to convert to others (e.g. retrieving a boolean as an integer), and the specified return value type can be any type where a reasonable conversion from a native TOML value exists (e.g. <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> on Windows). If the source value cannot be represented by the destination type, an empty optional is returned.</p><pre class="m-code"><p class="m-note m-success poxy-godbolt"><a class="poxy-external poxy-godbolt" href="https://godbolt.org/z/zzG81K" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nf">parse</span><span class="p">(</span><span class="sa">R</span><span class="s">"</span><span class="dl">(</span>
|
||||
<span class="s"> int = -10</span>
|
||||
<span class="s"> flt = 25.0</span>
|
||||
<span class="s"> pi = 3.14159</span>
|
||||
@@ -797,8 +797,8 @@
|
||||
<span class="go">- long long -10</span>
|
||||
<span class="go">- float -10</span>
|
||||
<span class="go">- double -10</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- const char* n/a</span>
|
||||
|
||||
<span class="go">floating-point value 'flt' as:</span>
|
||||
@@ -808,8 +808,8 @@
|
||||
<span class="go">- long long 25</span>
|
||||
<span class="go">- float 25</span>
|
||||
<span class="go">- double 25</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- const char* n/a</span>
|
||||
|
||||
<span class="go">floating-point value 'pi' as:</span>
|
||||
@@ -819,8 +819,8 @@
|
||||
<span class="go">- long long n/a</span>
|
||||
<span class="go">- float 3.14159</span>
|
||||
<span class="go">- double 3.14159</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- const char* n/a</span>
|
||||
|
||||
<span class="go">boolean value 'bool' as:</span>
|
||||
@@ -830,8 +830,8 @@
|
||||
<span class="go">- long long 0</span>
|
||||
<span class="go">- float n/a</span>
|
||||
<span class="go">- double n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- const char* n/a</span>
|
||||
|
||||
<span class="go">integer value 'huge' as:</span>
|
||||
@@ -841,8 +841,8 @@
|
||||
<span class="go">- long long 9223372036854775807</span>
|
||||
<span class="go">- float n/a</span>
|
||||
<span class="go">- double n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> n/a</span>
|
||||
<span class="go">- const char* n/a</span>
|
||||
|
||||
<span class="go">string value 'str' as:</span>
|
||||
@@ -852,9 +852,9 @@
|
||||
<span class="go">- long long n/a</span>
|
||||
<span class="go">- float n/a</span>
|
||||
<span class="go">- double n/a</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> foo</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> foo</span>
|
||||
<span class="go">- const char* foo</span></pre><aside class="m-note m-info"><h4>Note</h4><p>If you want strict value retrieval semantics that do not allow for any type conversions, use <a class="m-doc" href="classtoml_1_1node.html#a1fd6d582bdadae6b104440aec7b6e383">node::<wbr/>value_exact()</a> instead.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a1fd6d582bdadae6b104440aec7b6e383">node::<wbr/>value_exact()</a></p></aside>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a> foo</span>
|
||||
<span class="go">- <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> foo</span>
|
||||
<span class="go">- const char* foo</span></pre><aside class="m-note m-info"><h4>Note</h4><p>If you want strict value retrieval semantics that do not allow for any type conversions, use <a class="m-doc" href="#a1fd6d582bdadae6b104440aec7b6e383">node::<wbr/>value_exact()</a> instead.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a1fd6d582bdadae6b104440aec7b6e383">node::<wbr/>value_exact()</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a1fd6d582bdadae6b104440aec7b6e383"><div>
|
||||
<h3>
|
||||
@@ -881,7 +881,7 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<p>This function has 'exact' retrieval semantics; the only return value types allowed are the TOML native value types, or types that can losslessly represent a native value type (e.g. <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> on Windows).</p><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a></p></aside>
|
||||
<p>This function has 'exact' retrieval semantics; the only return value types allowed are the TOML native value types, or types that can losslessly represent a native value type (e.g. <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> on Windows).</p><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ad1c332ae403fade90216726105419efc"><div>
|
||||
<h3>
|
||||
@@ -917,7 +917,7 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<aside class="m-note m-info"><h4>Note</h4><p>This function has the same permissive retrieval semantics as <a class="m-doc" href="classtoml_1_1node.html#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a>. If you want strict value retrieval semantics that do not allow for any type conversions, use <a class="m-doc" href="classtoml_1_1node.html#a1fd6d582bdadae6b104440aec7b6e383">node::<wbr/>value_exact()</a> instead.</p></aside><aside class="m-note m-default"><h4>See also</h4><ul><li><a class="m-doc" href="classtoml_1_1node.html#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a></li><li><a class="m-doc" href="classtoml_1_1node.html#a1fd6d582bdadae6b104440aec7b6e383">node::<wbr/>value_exact()</a></li></ul></aside>
|
||||
<aside class="m-note m-info"><h4>Note</h4><p>This function has the same permissive retrieval semantics as <a class="m-doc" href="#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a>. If you want strict value retrieval semantics that do not allow for any type conversions, use <a class="m-doc" href="#a1fd6d582bdadae6b104440aec7b6e383">node::<wbr/>value_exact()</a> instead.</p></aside><aside class="m-note m-default"><h4>See also</h4><ul><li><a class="m-doc" href="#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a></li><li><a class="m-doc" href="#a1fd6d582bdadae6b104440aec7b6e383">node::<wbr/>value_exact()</a></li></ul></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ad47390f3832260db7bf06cd282598240"><div>
|
||||
<h3>
|
||||
@@ -953,14 +953,14 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<p>Visitation is useful when you expect a node to be one of a set number of types and need to handle these types differently. Using <code><a class="m-doc" href="classtoml_1_1node.html#ad47390f3832260db7bf06cd282598240">visit()</a></code> allows you to eliminate some of the casting/conversion boilerplate:</p><pre class="m-code"><span class="n">node</span><span class="p">.</span><span class="nf">visit</span><span class="p">([](</span><span class="k">auto</span><span class="o">&&</span> <span class="n">n</span><span class="p">)</span>
|
||||
<p>Visitation is useful when you expect a node to be one of a set number of types and need to handle these types differently. Using <code><a class="m-doc" href="#ad47390f3832260db7bf06cd282598240">visit()</a></code> allows you to eliminate some of the casting/conversion boilerplate:</p><pre class="m-code"><span class="n">node</span><span class="p">.</span><span class="nf">visit</span><span class="p">([](</span><span class="k">auto</span><span class="o">&&</span> <span class="n">n</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="k">if</span> <span class="k">constexpr</span> <span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="n">is_string</span><span class="o"><</span><span class="k">decltype</span><span class="p">(</span><span class="n">n</span><span class="p">)</span><span class="o">></span><span class="p">)</span>
|
||||
<span class="nf">do_something_with_a_string</span><span class="p">(</span><span class="o">*</span><span class="n">n</span><span class="p">));</span> <span class="c1">//n is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>></span>
|
||||
<span class="nf">do_something_with_a_string</span><span class="p">(</span><span class="o">*</span><span class="n">n</span><span class="p">));</span> <span class="c1">//n is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>></span>
|
||||
<span class="k">else</span> <span class="k">if</span> <span class="k">constexpr</span> <span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="n">is_integer</span><span class="o"><</span><span class="k">decltype</span><span class="p">(</span><span class="n">n</span><span class="p">)</span><span class="o">></span><span class="p">)</span>
|
||||
<span class="nf">do_something_with_an_int</span><span class="p">(</span><span class="o">*</span><span class="n">n</span><span class="p">);</span> <span class="c1">//n is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>></span>
|
||||
<span class="nf">do_something_with_an_int</span><span class="p">(</span><span class="o">*</span><span class="n">n</span><span class="p">);</span> <span class="c1">//n is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>></span>
|
||||
<span class="p">});</span></pre><p>Visitor functions need not be generic; specifying a concrete node type as the input argument type effectively acts a 'filter', only invoking the visitor if the concrete type is compatible. Thus the example above can be re-written as:</p><pre class="m-code"><span class="n">node</span><span class="p">.</span><span class="nf">visit</span><span class="p">([](</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nn">std</span><span class="o">::</span><span class="nc">string</span><span class="o">>&</span> <span class="n">s</span><span class="p">)</span> <span class="p">{</span> <span class="nf">do_something_with_a_string</span><span class="p">(</span><span class="o">*</span><span class="n">s</span><span class="p">));</span> <span class="p">});</span>
|
||||
<span class="n">node</span><span class="p">.</span><span class="nf">visit</span><span class="p">([](</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>&</span> <span class="n">i</span><span class="p">)</span> <span class="p">{</span> <span class="nf">do_something_with_an_int</span><span class="p">(</span><span class="o">*</span><span class="n">i</span><span class="p">));</span> <span class="p">});</span></pre><aside class="m-note m-default"><h4>See also</h4><p><a class="poxy-external" href="https://en.wikipedia.org/wiki/Visitor_pattern" target="_blank">https://en.wikipedia.org/wiki/Visitor_<wbr/>pattern</a></p></aside>
|
||||
<span class="n">node</span><span class="p">.</span><span class="nf">visit</span><span class="p">([](</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>&</span> <span class="n">i</span><span class="p">)</span> <span class="p">{</span> <span class="nf">do_something_with_an_int</span><span class="p">(</span><span class="o">*</span><span class="n">i</span><span class="p">));</span> <span class="p">});</span></pre><aside class="m-note m-default"><h4>See also</h4><p><a class="poxy-external" href="https://en.wikipedia.org/wiki/Visitor_pattern" target="_blank">https://en.wikipedia.org/wiki/Visitor_<wbr/>pattern</a></p></aside>
|
||||
</div></section>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -83,7 +83,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<p>A <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> is like a <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/utility/optional" target="_blank">std::optional</a><toml::node&> (if such a construct were legal), with lots of toml-specific stuff built-in. It <em>may</em> represent a node, and allows you to do many of the same operations that you'd do on nodes directly, as well as easily traversing the node tree by creating subviews (via <a class="m-doc" href="classtoml_1_1node__view.html#a2dde12894f70530d80de45a03eae78fa">node_view::<wbr/>operator[]</a>).</p><pre class="m-code"><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nf">parse</span><span class="p">(</span><span class="sa">R</span><span class="s">"</span><span class="dl">(</span>
|
||||
<p>A <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> is like a <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/utility/optional" target="_blank">std::optional</a><toml::node&> (if such a construct were legal), with lots of toml-specific stuff built-in. It <em>may</em> represent a node, and allows you to do many of the same operations that you'd do on nodes directly, as well as easily traversing the node tree by creating subviews (via <a class="m-doc" href="#a2dde12894f70530d80de45a03eae78fa">node_view::<wbr/>operator[]</a>).</p><pre class="m-code"><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nf">parse</span><span class="p">(</span><span class="sa">R</span><span class="s">"</span><span class="dl">(</span>
|
||||
|
||||
<span class="s"> title = "my hardware store"</span>
|
||||
|
||||
@@ -131,11 +131,11 @@
|
||||
</dt>
|
||||
<dd>Constructs an empty node view.</dd>
|
||||
<dt id="a199ca0c01e27a74b2ad6dbe554113fb8">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a199ca0c01e27a74b2ad6dbe554113fb8">node_view</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1node__view.html#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>* node) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a199ca0c01e27a74b2ad6dbe554113fb8">node_view</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>* node) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> of a specific node.</dd>
|
||||
<dt id="af40ced8902e81e354af44a033f05d682">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#af40ced8902e81e354af44a033f05d682">node_view</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1node__view.html#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>& node) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#af40ced8902e81e354af44a033f05d682">node_view</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>& node) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> of a specific node.</dd>
|
||||
<dt id="a6f2a4c199237385a61741ab30a64b500">
|
||||
@@ -156,7 +156,7 @@
|
||||
<h2><a href="#pub-methods">Public functions</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="afb42ba6fdddfb407bd37b697a407246d">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#afb42ba6fdddfb407bd37b697a407246d">node</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1node__view.html#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#afb42ba6fdddfb407bd37b697a407246d">node</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the node that's being referenced by the view.</dd>
|
||||
<dt id="afa455c0337a6fe4d1ca533e10750ba9e">
|
||||
@@ -209,13 +209,13 @@
|
||||
<dt id="abe826c97f2b451ee287ecf37f46517fb">
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#abe826c97f2b451ee287ecf37f46517fb">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>& lhs,
|
||||
const <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><T>& rhs) -> bool <span class="m-label m-flat m-success">noexcept(…)</span></span>
|
||||
const <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><T>& rhs) -> bool <span class="m-label m-flat m-success">noexcept(…)</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if the viewed node is an array with the same contents as the RHS initializer list.</dd>
|
||||
<dt id="ad4b4144f8033c78e5410f701e5ae7e30">
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ad4b4144f8033c78e5410f701e5ae7e30">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>& lhs,
|
||||
const <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><T>& rhs) -> bool <span class="m-label m-flat m-success">noexcept(…)</span></span>
|
||||
const <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><T>& rhs) -> bool <span class="m-label m-flat m-success">noexcept(…)</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if the viewed node is an array with the same contents as the RHS vector.</dd>
|
||||
</dl>
|
||||
@@ -224,7 +224,7 @@
|
||||
<h2><a href="#subviews">Subviews</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a59c5432fb77b50ef22098e17d4f956d5">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a59c5432fb77b50ef22098e17d4f956d5">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -232,11 +232,11 @@
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a157c1eafb7bdf8f33398106017d1b20c">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a157c1eafb7bdf8f33398106017d1b20c">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2dde12894f70530d80de45a03eae78fa">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2dde12894f70530d80de45a03eae78fa">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the selected subnode.</dd>
|
||||
<dt>
|
||||
@@ -244,11 +244,11 @@
|
||||
</dt>
|
||||
<dd>Returns a view of the selected subnode.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a35021e65758dc0be505916532b69a7d8">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a35021e65758dc0be505916532b69a7d8">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the selected subnode.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5d13b026efcd31812415ead30eeb69db">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5d13b026efcd31812415ead30eeb69db">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the selected subnode.</dd>
|
||||
</dl>
|
||||
@@ -284,7 +284,7 @@
|
||||
<dt id="ad21750582ec6303e0b257b132ec4409d">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ad21750582ec6303e0b257b132ec4409d">as_integer</a>(</span><span class="m-doc-wrap">) const -> auto* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a pointer to the viewed node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, if it is one.</dd>
|
||||
<dd>Returns a pointer to the viewed node as a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, if it is one.</dd>
|
||||
<dt id="a33c4dd8fb9498f6de6fb06714b508d17">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a33c4dd8fb9498f6de6fb06714b508d17">as_string</a>(</span><span class="m-doc-wrap">) const -> auto* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -333,7 +333,7 @@
|
||||
<dd>Returns true if the viewed node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><double>.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2a2902064421f401e80ea687cef536da">is_homogeneous</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> ntype,
|
||||
<a class="m-doc" href="classtoml_1_1node__view.html#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>*& first_nonmatch) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>*& first_nonmatch) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Checks if the viewed node contains values/elements of only one type.</dd>
|
||||
<dt>
|
||||
@@ -348,11 +348,11 @@
|
||||
<dt id="ab9c835ddf017f250d84fa5d5736e8520">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ab9c835ddf017f250d84fa5d5736e8520">is_integer</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if the viewed node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>.</dd>
|
||||
<dd>Returns true if the viewed node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>.</dd>
|
||||
<dt id="a107732370c62402b1101a78e7382fd8b">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a107732370c62402b1101a78e7382fd8b">is_number</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if the viewed node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>> or <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><double>.</dd>
|
||||
<dd>Returns true if the viewed node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>> or <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><double>.</dd>
|
||||
<dt id="a79b47268155d955b8e2c027b0c2ae983">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a79b47268155d955b8e2c027b0c2ae983">is_string</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -414,8 +414,8 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a170109f0b77888f54b2fcdb8fee0ab90">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
const <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>& nv) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a170109f0b77888f54b2fcdb8fee0ab90">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
const <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>& nv) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the viewed node out to a stream.</dd>
|
||||
</dl>
|
||||
@@ -427,7 +427,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ViewedType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a59c5432fb77b50ef22098e17d4f956d5">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a59c5432fb77b50ef22098e17d4f956d5">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">toml::<wbr/>node::<wbr/>at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
@@ -447,7 +447,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ViewedType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a157c1eafb7bdf8f33398106017d1b20c">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a157c1eafb7bdf8f33398106017d1b20c">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const</span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">toml::<wbr/>node::<wbr/>at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
@@ -457,7 +457,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ViewedType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2dde12894f70530d80de45a03eae78fa">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2dde12894f70530d80de45a03eae78fa">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the selected subnode.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -509,7 +509,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ViewedType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a35021e65758dc0be505916532b69a7d8">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a35021e65758dc0be505916532b69a7d8">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the selected subnode.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -536,7 +536,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ViewedType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5d13b026efcd31812415ead30eeb69db">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5d13b026efcd31812415ead30eeb69db">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the selected subnode.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -621,7 +621,7 @@
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ViewedType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>node_view<ViewedType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2a2902064421f401e80ea687cef536da">is_homogeneous</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> ntype,
|
||||
<a class="m-doc" href="classtoml_1_1node__view.html#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>*& first_nonmatch) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc" href="#a1550f4e57532fd03b6c3e9d87805c03a">viewed_<wbr/>type</a>*& first_nonmatch) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Checks if the viewed node contains values/elements of only one type.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -720,7 +720,7 @@
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"homogenous: "sv</span> <span class="o"><<</span> <span class="n">cfg</span><span class="p">[</span><span class="s">"arr"</span><span class="p">].</span><span class="nf">is_homogeneous</span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"all doubles: "sv</span> <span class="o"><<</span> <span class="n">cfg</span><span class="p">[</span><span class="s">"arr"</span><span class="p">].</span><span class="n">is_homogeneous</span><span class="o"><</span><span class="k">double</span><span class="o">></span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"all arrays: "sv</span> <span class="o"><<</span> <span class="n">cfg</span><span class="p">[</span><span class="s">"arr"</span><span class="p">].</span><span class="n">is_homogeneous</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="o">></span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"all integers: "sv</span> <span class="o"><<</span> <span class="n">cfg</span><span class="p">[</span><span class="s">"arr"</span><span class="p">].</span><span class="n">is_homogeneous</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">homogeneous: true</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"all integers: "sv</span> <span class="o"><<</span> <span class="n">cfg</span><span class="p">[</span><span class="s">"arr"</span><span class="p">].</span><span class="n">is_homogeneous</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">homogeneous: true</span>
|
||||
<span class="go">all floats: false</span>
|
||||
<span class="go">all arrays: false</span>
|
||||
<span class="go">all ints: true</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>Always returns <code>false</code> if the view does not reference a node, or if the viewed node is an empty table or array.</p></aside>
|
||||
@@ -757,9 +757,9 @@
|
||||
<span class="s"> max = 45</span>
|
||||
<span class="dl">)</span><span class="s">"sv</span><span class="p">);</span>
|
||||
|
||||
<span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">&</span> <span class="n">min_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">[</span><span class="s">"min"</span><span class="p">].</span><span class="n">ref</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">();</span> <span class="c1">// matching type</span>
|
||||
<span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">&</span> <span class="n">min_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">[</span><span class="s">"min"</span><span class="p">].</span><span class="n">ref</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">();</span> <span class="c1">// matching type</span>
|
||||
<span class="k">double</span><span class="o">&</span> <span class="n">max_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">[</span><span class="s">"max"</span><span class="p">].</span><span class="n">ref</span><span class="o"><</span><span class="k">double</span><span class="o">></span><span class="p">();</span> <span class="c1">// mismatched type, hits assert()</span>
|
||||
<span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">&</span> <span class="n">foo_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">[</span><span class="s">"foo"</span><span class="p">].</span><span class="n">ref</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">();</span> <span class="c1">// nonexistent key, hits assert()</span></pre></aside><aside class="m-note m-info"><h4>Note</h4><p>Specifying explicit ref qualifiers acts as an explicit ref-category cast, whereas specifying explicit cv-ref qualifiers merges them with whatever the cv qualification of the viewed node is (to ensure cv-correctness is propagated), e.g.:</p><table class="m-table"><thead><tr><th><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a></th><th>T</th><th>return type</th></tr></thead><tbody><tr><td>node_view<node></td><td><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></td><td><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&</td></tr><tr><td>node_view<node></td><td><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td><td><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td></tr><tr><td>node_view<const node></td><td>volatile <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></td><td>const volatile <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&</td></tr><tr><td>node_view<const node></td><td>volatile <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td><td>const volatile <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td></tr></tbody></table></aside>
|
||||
<span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">&</span> <span class="n">foo_ref</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">[</span><span class="s">"foo"</span><span class="p">].</span><span class="n">ref</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">();</span> <span class="c1">// nonexistent key, hits assert()</span></pre></aside><aside class="m-note m-info"><h4>Note</h4><p>Specifying explicit ref qualifiers acts as an explicit ref-category cast, whereas specifying explicit cv-ref qualifiers merges them with whatever the cv qualification of the viewed node is (to ensure cv-correctness is propagated), e.g.:</p><table class="m-table"><thead><tr><th><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a></th><th>T</th><th>return type</th></tr></thead><tbody><tr><td>node_view<node></td><td><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></td><td><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&</td></tr><tr><td>node_view<node></td><td><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td><td><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td></tr><tr><td>node_view<const node></td><td>volatile <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></td><td>const volatile <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&</td></tr><tr><td>node_view<const node></td><td>volatile <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td><td>const volatile <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&&</td></tr></tbody></table></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="abb51a912462a258379b968c4074f8324"><div>
|
||||
<h3>
|
||||
@@ -788,7 +788,7 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<p>This function has 'permissive' retrieval semantics; some value types are allowed to convert to others (e.g. retrieving a boolean as an integer), and the specified return value type can be any type where a reasonable conversion from a native TOML value exists (e.g. <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> on Windows). If the source value cannot be represented by the destination type, an empty optional is returned. See <a class="m-doc" href="classtoml_1_1node.html#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a> for examples.</p><aside class="m-note m-info"><h4>Note</h4><p>If you want strict value retrieval semantics that do not allow for any type conversions, use <a class="m-doc" href="classtoml_1_1node__view.html#a2d558e7799bc4e24adda096446eb384d">node_view::<wbr/>value_exact()</a> instead.</p></aside><aside class="m-note m-default"><h4>See also</h4><ul><li><a class="m-doc" href="classtoml_1_1node__view.html#abb51a912462a258379b968c4074f8324">node_view::<wbr/>value()</a></li><li><a class="m-doc" href="classtoml_1_1node__view.html#a2d558e7799bc4e24adda096446eb384d">node_view::<wbr/>value_exact()</a></li></ul></aside>
|
||||
<p>This function has 'permissive' retrieval semantics; some value types are allowed to convert to others (e.g. retrieving a boolean as an integer), and the specified return value type can be any type where a reasonable conversion from a native TOML value exists (e.g. <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> on Windows). If the source value cannot be represented by the destination type, an empty optional is returned. See <a class="m-doc" href="classtoml_1_1node.html#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a> for examples.</p><aside class="m-note m-info"><h4>Note</h4><p>If you want strict value retrieval semantics that do not allow for any type conversions, use <a class="m-doc" href="#a2d558e7799bc4e24adda096446eb384d">node_view::<wbr/>value_exact()</a> instead.</p></aside><aside class="m-note m-default"><h4>See also</h4><ul><li><a class="m-doc" href="#abb51a912462a258379b968c4074f8324">node_view::<wbr/>value()</a></li><li><a class="m-doc" href="#a2d558e7799bc4e24adda096446eb384d">node_view::<wbr/>value_exact()</a></li></ul></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a2d558e7799bc4e24adda096446eb384d"><div>
|
||||
<h3>
|
||||
@@ -817,7 +817,7 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<p>This function has 'exact' retrieval semantics; the only return value types allowed are the TOML native value types, or types that can losslessly represent a native value type (e.g. <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> on Windows).</p><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html#abb51a912462a258379b968c4074f8324">node_view::<wbr/>value()</a></p></aside>
|
||||
<p>This function has 'exact' retrieval semantics; the only return value types allowed are the TOML native value types, or types that can losslessly represent a native value type (e.g. <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> on Windows).</p><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#abb51a912462a258379b968c4074f8324">node_view::<wbr/>value()</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a314e5d666dcda3493ff9aa2c0816f53c"><div>
|
||||
<h3>
|
||||
@@ -855,7 +855,7 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<aside class="m-note m-info"><h4>Note</h4><p>This function has the same permissive retrieval semantics as <a class="m-doc" href="classtoml_1_1node.html#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a>. If you want strict value retrieval semantics that do not allow for any type conversions, use <a class="m-doc" href="classtoml_1_1node__view.html#a2d558e7799bc4e24adda096446eb384d">node_view::<wbr/>value_exact()</a> instead.</p></aside><aside class="m-note m-default"><h4>See also</h4><ul><li><a class="m-doc" href="classtoml_1_1node__view.html#abb51a912462a258379b968c4074f8324">node_view::<wbr/>value()</a></li><li><a class="m-doc" href="classtoml_1_1node__view.html#a2d558e7799bc4e24adda096446eb384d">node_view::<wbr/>value_exact()</a></li></ul></aside>
|
||||
<aside class="m-note m-info"><h4>Note</h4><p>This function has the same permissive retrieval semantics as <a class="m-doc" href="classtoml_1_1node.html#a0b717d136b8a8b6f142a56056a570fed">node::<wbr/>value()</a>. If you want strict value retrieval semantics that do not allow for any type conversions, use <a class="m-doc" href="#a2d558e7799bc4e24adda096446eb384d">node_view::<wbr/>value_exact()</a> instead.</p></aside><aside class="m-note m-default"><h4>See also</h4><ul><li><a class="m-doc" href="#abb51a912462a258379b968c4074f8324">node_view::<wbr/>value()</a></li><li><a class="m-doc" href="#a2d558e7799bc4e24adda096446eb384d">node_view::<wbr/>value_exact()</a></li></ul></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aa5f84bfab779c71a07b04ca0b2db863f"><div>
|
||||
<h3>
|
||||
@@ -874,7 +874,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ViewedType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a170109f0b77888f54b2fcdb8fee0ab90">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a170109f0b77888f54b2fcdb8fee0ab90">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
const <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>& nv)</span></span>
|
||||
</h3>
|
||||
<p>Prints the viewed node out to a stream.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -74,12 +74,12 @@
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>This class inherits from <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/runtime_error.html" target="_blank">std::<wbr/>runtime_error</a> when exceptions are enabled. The public interface is the same regardless of exception mode.</p></aside>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>This class inherits from <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/runtime_error.html" target="_blank">std::<wbr/>runtime_error</a> when exceptions are enabled. The public interface is the same regardless of exception mode.</p></aside>
|
||||
<section id="pub-methods">
|
||||
<h2><a href="#pub-methods">Public functions</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5582e9d66f8aa3f6ef442c0a04d5282f">description</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5582e9d66f8aa3f6ef442c0a04d5282f">description</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a textual description of the error.</dd>
|
||||
<dt id="a8168b4941305654cf4ba8fc96efd0514">
|
||||
@@ -92,8 +92,8 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a90796878877b2a028354f643be725cf6">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1parse__error.html">parse_<wbr/>error</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a90796878877b2a028354f643be725cf6">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1parse__error.html">parse_<wbr/>error</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints a <a class="m-doc" href="classtoml_1_1parse__error.html">parse_<wbr/>error</a> to a stream.</dd>
|
||||
</dl>
|
||||
@@ -102,14 +102,14 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a5582e9d66f8aa3f6ef442c0a04d5282f"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> toml::<wbr/>parse_error::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5582e9d66f8aa3f6ef442c0a04d5282f">description</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> toml::<wbr/>parse_error::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5582e9d66f8aa3f6ef442c0a04d5282f">description</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a textual description of the error.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>The backing string is guaranteed to be null-terminated.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a90796878877b2a028354f643be725cf6"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a90796878877b2a028354f643be725cf6">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a90796878877b2a028354f643be725cf6">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1parse__error.html">parse_<wbr/>error</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints a <a class="m-doc" href="classtoml_1_1parse__error.html">parse_<wbr/>error</a> to a stream.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
<span class="go">Parse failed:</span>
|
||||
<span class="go">Encountered unexpected character while parsing boolean; expected 'true', saw 'trU'</span>
|
||||
<span class="go"> (error occurred at line 1, column 13 of 'config.toml')</span></pre><p>Getting <a class="m-doc poxy-injected" href="classtoml_1_1node__view.html">node_views</a> (<code>operator[]</code>, <code><a class="m-doc" href="classtoml_1_1parse__result.html#a09972ac3195147c36fcb40386c863a35">at_<wbr/>path()</a></code>) and using the iterator accessor functions (<code><a class="m-doc" href="classtoml_1_1parse__result.html#a3f641e942f1518dffad6fcc7dc13893d">begin()</a></code>, <code><a class="m-doc" href="classtoml_1_1parse__result.html#a336d398e329f08195d714ff02fdffca6">end()</a></code> etc.) are unconditionally safe; when parsing fails these just return 'empty' values. A ranged-for loop on a failed <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> is also safe since <code><a class="m-doc" href="classtoml_1_1parse__result.html#a3f641e942f1518dffad6fcc7dc13893d">begin()</a></code> and <code><a class="m-doc" href="classtoml_1_1parse__result.html#a336d398e329f08195d714ff02fdffca6">end()</a></code> return the same iterator and will not lead to any dereferences and iterations.</p>
|
||||
<span class="go"> (error occurred at line 1, column 13 of 'config.toml')</span></pre><p>Getting <a class="m-doc poxy-injected" href="classtoml_1_1node__view.html">node_views</a> (<code>operator[]</code>, <code><a class="m-doc" href="#a09972ac3195147c36fcb40386c863a35">at_<wbr/>path()</a></code>) and using the iterator accessor functions (<code><a class="m-doc" href="#a3f641e942f1518dffad6fcc7dc13893d">begin()</a></code>, <code><a class="m-doc" href="#a336d398e329f08195d714ff02fdffca6">end()</a></code> etc.) are unconditionally safe; when parsing fails these just return 'empty' values. A ranged-for loop on a failed <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> is also safe since <code><a class="m-doc" href="#a3f641e942f1518dffad6fcc7dc13893d">begin()</a></code> and <code><a class="m-doc" href="#a336d398e329f08195d714ff02fdffca6">end()</a></code> return the same iterator and will not lead to any dereferences and iterations.</p>
|
||||
<section id="typeless-methods">
|
||||
<h2><a href="#typeless-methods">Constructors, destructors, conversion operators</a></h2>
|
||||
<dl class="m-doc">
|
||||
@@ -121,7 +121,7 @@
|
||||
</section>
|
||||
<section id="failed-parses">
|
||||
<h2><a href="#failed-parses">Failed parses</a></h2>
|
||||
<aside class="m-note m-danger"><h4>Warning</h4><p>It is undefined behaviour to call these functions when the result respresents a successful parse. Check <a class="m-doc" href="classtoml_1_1parse__result.html#a9097bc552007537f840602ceca00e99b">failed()</a>, <a class="m-doc" href="classtoml_1_1parse__result.html#ab5bfcd6ed385016395029bd69ad78a3c">succeeded</a> or <a class="m-doc" href="classtoml_1_1parse__result.html#af66ea78a6dd881521ce865a372298e12">operator bool()</a> to determine the result's state.</p></aside>
|
||||
<aside class="m-note m-danger"><h4>Warning</h4><p>It is undefined behaviour to call these functions when the result respresents a successful parse. Check <a class="m-doc" href="#a9097bc552007537f840602ceca00e99b">failed()</a>, <a class="m-doc" href="#ab5bfcd6ed385016395029bd69ad78a3c">succeeded</a> or <a class="m-doc" href="#af66ea78a6dd881521ce865a372298e12">operator bool()</a> to determine the result's state.</p></aside>
|
||||
<dl class="m-doc">
|
||||
<dt id="aefbb9aafdf00fa1ac979962d22e12e68">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aefbb9aafdf00fa1ac979962d22e12e68">error</a>(</span><span class="m-doc-wrap">) & -> <a class="m-doc" href="classtoml_1_1parse__error.html">parse_<wbr/>error</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
@@ -155,11 +155,11 @@
|
||||
<dt id="abf92ffb48c1f4d0f129f4032708d4ab0">
|
||||
using <a class="m-doc-self" href="#abf92ffb48c1f4d0f129f4032708d4ab0">const_iterator</a> = <a class="m-doc" href="namespacetoml.html#a4bccd753f54404e0097457514177fcbb">const_<wbr/>table_<wbr/>iterator</a>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over const key-value pairs in a wrapped <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over const key-value pairs in a wrapped <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dt id="aae503c11e9f9162de5cbef5e2c9f4863">
|
||||
using <a class="m-doc-self" href="#aae503c11e9f9162de5cbef5e2c9f4863">iterator</a> = <a class="m-doc" href="namespacetoml.html#a19243ec6febf1bb834ea9e366405e317">table_<wbr/>iterator</a>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over key-value pairs in a wrapped <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over key-value pairs in a wrapped <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a3f641e942f1518dffad6fcc7dc13893d">begin</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="namespacetoml.html#a19243ec6febf1bb834ea9e366405e317">table_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -190,11 +190,11 @@
|
||||
<h2><a href="#node-views">Node views</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a09972ac3195147c36fcb40386c863a35">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a09972ac3195147c36fcb40386c863a35">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1296ae08b7d147c6b83f1ba07fc4186f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1296ae08b7d147c6b83f1ba07fc4186f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -206,11 +206,11 @@
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1d945519896bd0095b4ed6cbb9215774">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1d945519896bd0095b4ed6cbb9215774">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a9f9d6bd799058036b11d8de03b43bb57">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a9f9d6bd799058036b11d8de03b43bb57">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -222,19 +222,19 @@
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8825eaef011c7dbb5c1d1e46584e90bc">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8825eaef011c7dbb5c1d1e46584e90bc">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected key-value pair in the wrapped table.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1d91207197c22f396acba5d46995d8ab">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1d91207197c22f396acba5d46995d8ab">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected key-value pair in the wrapped table (const overload).</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a67f55af8782d160d14026af394b2954b">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a67f55af8782d160d14026af394b2954b">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected key-value pair in the wrapped table.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a025653d2720d17884461814ae3473367">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a025653d2720d17884461814ae3473367">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected key-value pair in the wrapped table (const overload).</dd>
|
||||
</dl>
|
||||
@@ -258,7 +258,7 @@
|
||||
</section>
|
||||
<section id="successful-parses">
|
||||
<h2><a href="#successful-parses">Successful parses</a></h2>
|
||||
<aside class="m-note m-danger"><h4>Warning</h4><p>It is undefined behaviour to call these functions when the result respresents a failed parse. Check <a class="m-doc" href="classtoml_1_1parse__result.html#a9097bc552007537f840602ceca00e99b">failed()</a>, <a class="m-doc" href="classtoml_1_1parse__result.html#ab5bfcd6ed385016395029bd69ad78a3c">succeeded</a> or <a class="m-doc" href="classtoml_1_1parse__result.html#af66ea78a6dd881521ce865a372298e12">operator bool()</a> to determine the result's state.</p></aside>
|
||||
<aside class="m-note m-danger"><h4>Warning</h4><p>It is undefined behaviour to call these functions when the result respresents a failed parse. Check <a class="m-doc" href="#a9097bc552007537f840602ceca00e99b">failed()</a>, <a class="m-doc" href="#ab5bfcd6ed385016395029bd69ad78a3c">succeeded</a> or <a class="m-doc" href="#af66ea78a6dd881521ce865a372298e12">operator bool()</a> to determine the result's state.</p></aside>
|
||||
<dl class="m-doc">
|
||||
<dt id="a9d059289edaf6c7fb71916b21a2f9c9f">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9d059289edaf6c7fb71916b21a2f9c9f">operator const toml::table&</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
@@ -290,8 +290,8 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ad4eaa8dc3cc144a912a63d9f95331572">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
const <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a>& result) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ad4eaa8dc3cc144a912a63d9f95331572">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
const <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a>& result) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the held error or table object out to a text stream.</dd>
|
||||
</dl>
|
||||
@@ -303,32 +303,32 @@
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="namespacetoml.html#a19243ec6febf1bb834ea9e366405e317">table_<wbr/>iterator</a> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a3f641e942f1518dffad6fcc7dc13893d">begin</a>(</span><span class="m-doc-wrap">) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns an iterator to the first key-value pair in the wrapped table.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>Always returns the same value as <a class="m-doc" href="classtoml_1_1parse__result.html#a336d398e329f08195d714ff02fdffca6">end()</a> if parsing failed.</p></aside>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>Always returns the same value as <a class="m-doc" href="#a336d398e329f08195d714ff02fdffca6">end()</a> if parsing failed.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a910f13933a0547a2920404287829781f"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="namespacetoml.html#a4bccd753f54404e0097457514177fcbb">const_<wbr/>table_<wbr/>iterator</a> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a910f13933a0547a2920404287829781f">begin</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns an iterator to the first key-value pair in the wrapped table.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>Always returns the same value as <a class="m-doc" href="classtoml_1_1parse__result.html#a336d398e329f08195d714ff02fdffca6">end()</a> if parsing failed.</p></aside>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>Always returns the same value as <a class="m-doc" href="#a336d398e329f08195d714ff02fdffca6">end()</a> if parsing failed.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="af58212d8a367e5c1d38eb5d58708754b"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="namespacetoml.html#a4bccd753f54404e0097457514177fcbb">const_<wbr/>table_<wbr/>iterator</a> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#af58212d8a367e5c1d38eb5d58708754b">cbegin</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns an iterator to the first key-value pair in the wrapped table.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>Always returns the same value as <a class="m-doc" href="classtoml_1_1parse__result.html#afa4f821ad60ceb06327cec6b42b05071">cend()</a> if parsing failed.</p></aside>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>Always returns the same value as <a class="m-doc" href="#afa4f821ad60ceb06327cec6b42b05071">cend()</a> if parsing failed.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a09972ac3195147c36fcb40386c863a35"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a09972ac3195147c36fcb40386c863a35">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a09972ac3195147c36fcb40386c863a35">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">toml::<wbr/>node::<wbr/>at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a1296ae08b7d147c6b83f1ba07fc4186f"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1296ae08b7d147c6b83f1ba07fc4186f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1296ae08b7d147c6b83f1ba07fc4186f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">toml::<wbr/>node::<wbr/>at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
@@ -349,14 +349,14 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a1d945519896bd0095b4ed6cbb9215774"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1d945519896bd0095b4ed6cbb9215774">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1d945519896bd0095b4ed6cbb9215774">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path)</span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">toml::<wbr/>node::<wbr/>at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a9f9d6bd799058036b11d8de03b43bb57"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9f9d6bd799058036b11d8de03b43bb57">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9f9d6bd799058036b11d8de03b43bb57">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const</span></span>
|
||||
</h3>
|
||||
<p>Returns a const view of the subnode matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">toml::<wbr/>node::<wbr/>at_path(std::<wbr/>string_view)</a></p></aside>
|
||||
@@ -377,7 +377,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a8825eaef011c7dbb5c1d1e46584e90bc"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8825eaef011c7dbb5c1d1e46584e90bc">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8825eaef011c7dbb5c1d1e46584e90bc">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected key-value pair in the wrapped table.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -401,7 +401,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a1d91207197c22f396acba5d46995d8ab"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1d91207197c22f396acba5d46995d8ab">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1d91207197c22f396acba5d46995d8ab">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected key-value pair in the wrapped table (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -425,7 +425,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a67f55af8782d160d14026af394b2954b"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a67f55af8782d160d14026af394b2954b">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a67f55af8782d160d14026af394b2954b">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected key-value pair in the wrapped table.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -449,7 +449,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a025653d2720d17884461814ae3473367"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a025653d2720d17884461814ae3473367">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>parse_result::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a025653d2720d17884461814ae3473367">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected key-value pair in the wrapped table (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -473,7 +473,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ad4eaa8dc3cc144a912a63d9f95331572"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ad4eaa8dc3cc144a912a63d9f95331572">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ad4eaa8dc3cc144a912a63d9f95331572">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
const <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a>& result)</span></span>
|
||||
</h3>
|
||||
<p>Prints the held error or table object out to a text stream.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -100,11 +100,11 @@
|
||||
</dt>
|
||||
<dd>Default constructor.</dd>
|
||||
<dt id="aabc43d93056c759d389085b32935ec2a">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aabc43d93056c759d389085b32935ec2a">path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a>) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aabc43d93056c759d389085b32935ec2a">path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a>) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
</dt>
|
||||
<dd>Construct a path by parsing from a string.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a4f340e37cfb32ca1fdfebf24e5b842b4">path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a4f340e37cfb32ca1fdfebf24e5b842b4">path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
</dt>
|
||||
<dd>Construct a path by parsing from a string.</dd>
|
||||
<dt id="a3b120d3a25c2f3caffaba984ecf19bdc">
|
||||
@@ -129,15 +129,15 @@
|
||||
</dt>
|
||||
<dd>Whether (true) or not (false) the path is empty.</dd>
|
||||
<dt id="ae5dce1e849fac73d89169795e53e15f3">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae5dce1e849fac73d89169795e53e15f3">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae5dce1e849fac73d89169795e53e15f3">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Fetch a <a class="m-doc poxy-injected" href="classtoml_1_1path__component.html">path component</a> by index.</dd>
|
||||
<dt id="aa15b77d275df1147844843404b3def4b">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa15b77d275df1147844843404b3def4b">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa15b77d275df1147844843404b3def4b">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Fetch a <a class="m-doc poxy-injected" href="classtoml_1_1path__component.html">path component</a> by index (const overload).</dd>
|
||||
<dt id="a129b1539ef880b97468f26ac53538120">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a129b1539ef880b97468f26ac53538120">size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a129b1539ef880b97468f26ac53538120">size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the number of components in the path.</dd>
|
||||
</dl>
|
||||
@@ -154,11 +154,11 @@
|
||||
</dt>
|
||||
<dd>Appends another path onto the end of this one.</dd>
|
||||
<dt id="add3d5c222320fab26fd5cadd9a610e04">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#add3d5c222320fab26fd5cadd9a610e04">append</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> str) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#add3d5c222320fab26fd5cadd9a610e04">append</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> str) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Parses a path and appends it onto the end of this one.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae4be853daa76de724446f8aa2bff4b0f">append</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> str) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae4be853daa76de724446f8aa2bff4b0f">append</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> str) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Parses a path and appends it onto the end of this one.</dd>
|
||||
<dt id="aabc9213e26b1db7d87fbfc504e39695f">
|
||||
@@ -170,11 +170,11 @@
|
||||
</dt>
|
||||
<dd>Appends another path onto the end of this one.</dd>
|
||||
<dt id="a71085a959e83687873f72aeffe03a242">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a71085a959e83687873f72aeffe03a242">operator+=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a71085a959e83687873f72aeffe03a242">operator+=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Parses a path and appends it onto the end of this one.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a834f7fe3bfb77ca19faccf5394c4b381">operator+=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a834f7fe3bfb77ca19faccf5394c4b381">operator+=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Parses a path and appends it onto the end of this one.</dd>
|
||||
</dl>
|
||||
@@ -191,11 +191,11 @@
|
||||
</dt>
|
||||
<dd>Replaces the contents of the path with that of another.</dd>
|
||||
<dt id="ae08245751676ffd3261540e9d9a4ce16">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae08245751676ffd3261540e9d9a4ce16">assign</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> str) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae08245751676ffd3261540e9d9a4ce16">assign</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> str) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Replaces the contents of the path object by a new path.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#adcbcf8f53945d889d525a9562e380308">assign</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> str) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#adcbcf8f53945d889d525a9562e380308">assign</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> str) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Replaces the contents of the path object by a new path.</dd>
|
||||
<dt id="a660ab69db8a42b622bbf623d58397da4">
|
||||
@@ -207,11 +207,11 @@
|
||||
</dt>
|
||||
<dd>Move-assignment operator.</dd>
|
||||
<dt id="af5da17b2697b6d93ed6a111b7a05f569">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af5da17b2697b6d93ed6a111b7a05f569">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af5da17b2697b6d93ed6a111b7a05f569">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Replaces the contents of the path by parsing from a string.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a50ed97223baadcbf26f4c2311394c04b">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a50ed97223baadcbf26f4c2311394c04b">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Replaces the contents of the path by parsing from a string.</dd>
|
||||
</dl>
|
||||
@@ -226,21 +226,21 @@
|
||||
<dd>Concatenates two paths.</dd>
|
||||
<dt id="aa752dbb500cd4fa6efe4195266852ada">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa752dbb500cd4fa6efe4195266852ada">operator+</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Concatenates two paths.</dd>
|
||||
<dt id="a238f3a1d147825f4596718983ff4eea2">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a238f3a1d147825f4596718983ff4eea2">operator+</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a238f3a1d147825f4596718983ff4eea2">operator+</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Concatenates two paths.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#af6cb0b10895f5308e1b02aec607cb5a0">operator+</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Concatenates two paths.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae4c30c186c418ed4e7c9cc0ce1c2d167">operator+</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae4c30c186c418ed4e7c9cc0ce1c2d167">operator+</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Concatenates two paths.</dd>
|
||||
@@ -256,21 +256,21 @@
|
||||
<dd>Returns whether two paths are not the same.</dd>
|
||||
<dt id="a4aac6128cf3096aad26b0b0a96c2146b">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a4aac6128cf3096aad26b0b0a96c2146b">operator!=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool</span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns whether two paths are not the same.</dd>
|
||||
<dt id="ac52129303944b45af80b81ad7661f0b9">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ac52129303944b45af80b81ad7661f0b9">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ac52129303944b45af80b81ad7661f0b9">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs) -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns whether two paths are not the same.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a6151f164638727d9c4df34087ec43044">operator!=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs) -> bool</span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs) -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns whether two paths are not the same.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a6c525194daf7a573eae71f4b9e33ee58">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a6c525194daf7a573eae71f4b9e33ee58">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs) -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns whether two paths are not the same.</dd>
|
||||
@@ -281,21 +281,21 @@
|
||||
<dd>Returns whether two paths are the same.</dd>
|
||||
<dt id="a85f0a0111e2b80bebe29d4ce0085e4a6">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a85f0a0111e2b80bebe29d4ce0085e4a6">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool</span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> rhs) -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns whether two paths are the same.</dd>
|
||||
<dt id="acaa57e919274df170a42fb906fe2b5a4">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#acaa57e919274df170a42fb906fe2b5a4">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#acaa57e919274df170a42fb906fe2b5a4">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs) -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns whether two paths are the same.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a87379c0582c782cff4740608e0343158">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs) -> bool</span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs) -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns whether two paths are the same.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2149371c079844c9891a92fa74a89d38">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2149371c079844c9891a92fa74a89d38">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs) -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns whether two paths are the same.</dd>
|
||||
@@ -305,35 +305,35 @@
|
||||
<h2><a href="#iteration">Iteration</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
using <a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_iterator</a> = <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><<a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>>::<a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a>
|
||||
using <a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_iterator</a> = <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><<a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>>::<a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a>
|
||||
</dt>
|
||||
<dd></dd>
|
||||
<dt>
|
||||
using <a class="m-doc" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> = <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><<a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>>::<a class="m-doc" href="classtoml_1_1path.html#ad752d8838221c179af93c94d8a7ed3d2">iterator</a>
|
||||
using <a class="m-doc" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> = <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><<a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>>::<a class="m-doc" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a>
|
||||
</dt>
|
||||
<dd></dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a4d44a1165c0b5dc1b3171db952b56afd">begin</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1path.html#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a4d44a1165c0b5dc1b3171db952b56afd">begin</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first component in the path.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ad757a451dd6902f26a8d2ad3c3f15194">begin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ad757a451dd6902f26a8d2ad3c3f15194">begin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const iterator to the first component in the path.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#adc73ea43ee4542041c58186691f665e8">cbegin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#adc73ea43ee4542041c58186691f665e8">cbegin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const iterator to the first component in the path.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aae5ffcde5edfbe8ae33cadafdac34bfa">cend</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aae5ffcde5edfbe8ae33cadafdac34bfa">cend</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const iterator to one-past-the-last component in the path.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a884ed05a1f4ad2a2d4fe9133eb72a391">end</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1path.html#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a884ed05a1f4ad2a2d4fe9133eb72a391">end</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last component in the path.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#add0dbda00d37c1838b55de73f31c2dc6">end</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#add0dbda00d37c1838b55de73f31c2dc6">end</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const iterator to one-past-the-last component in the path.</dd>
|
||||
</dl>
|
||||
@@ -350,11 +350,11 @@
|
||||
</dt>
|
||||
<dd>Prepends another path onto the beginning of this one.</dd>
|
||||
<dt id="a97cca814a51b425e1baf310d5672fbe4">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a97cca814a51b425e1baf310d5672fbe4">prepend</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a97cca814a51b425e1baf310d5672fbe4">prepend</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Parses a path and prepends it onto the beginning of this one.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aa30721d1f0b21c4d42176063dd7ad08a">prepend</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aa30721d1f0b21c4d42176063dd7ad08a">prepend</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Parses a path and prepends it onto the beginning of this one.</dd>
|
||||
</dl>
|
||||
@@ -371,16 +371,16 @@
|
||||
</dt>
|
||||
<dd>Returns a string representation of this path.</dd>
|
||||
<dt id="a8d70d707cbd38ffc03fcb3b6f81069fa">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8d70d707cbd38ffc03fcb3b6f81069fa">str</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8d70d707cbd38ffc03fcb3b6f81069fa">str</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></span>
|
||||
</dt>
|
||||
<dd>Returns a string representation of this path.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a0a824034b0ef08cb2e497af21858a574">wide_str</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a0a824034b0ef08cb2e497af21858a574">wide_str</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a></span>
|
||||
</dt>
|
||||
<dd>Returns a string representation of this path.</dd>
|
||||
<dt id="a0f19c68fa53ab75540f2ebf28088bd68">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a0f19c68fa53ab75540f2ebf28088bd68">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a0f19c68fa53ab75540f2ebf28088bd68">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& os,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the string representation of a <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a> out to a stream.</dd>
|
||||
</dl>
|
||||
@@ -393,7 +393,7 @@
|
||||
</dt>
|
||||
<dd>Erases the contents of the path.</dd>
|
||||
<dt id="ace0a076c96fb0b46828de5d4f59ade5d">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ace0a076c96fb0b46828de5d4f59ade5d">leaf</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> n = 1) const -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ace0a076c96fb0b46828de5d4f59ade5d">leaf</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> n = 1) const -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Returns a <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a> object representing terminal n-parts of a TOML path.</dd>
|
||||
<dt id="a0efb28707c4366481ca6e549c1d31a78">
|
||||
@@ -401,21 +401,21 @@
|
||||
</dt>
|
||||
<dd>Returns a <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a> object representing the path of the parent node.</dd>
|
||||
<dt id="afc5f7494ca4cd2a574619d7ffb080cd3">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#afc5f7494ca4cd2a574619d7ffb080cd3">subpath</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> start,
|
||||
<a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> end) const -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#afc5f7494ca4cd2a574619d7ffb080cd3">subpath</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> start,
|
||||
<a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> end) const -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Returns a <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a> object that is a specified subpath of the current path, representing the range of <a class="m-doc poxy-injected" href="classtoml_1_1path__component.html">path components</a> from [start, end).</dd>
|
||||
<dt id="aa7e62837fc83f9a78e942c5f4105b8f0">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa7e62837fc83f9a78e942c5f4105b8f0">subpath</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> start,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> length) const -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa7e62837fc83f9a78e942c5f4105b8f0">subpath</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> start,
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> length) const -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Returns a <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a> object that is a specified subpath of the current path, representing the range of <a class="m-doc poxy-injected" href="classtoml_1_1path__component.html">path components</a> with indexes from [start, start + length].</dd>
|
||||
<dt id="aa4140e7e34e06546d509335037d1101b">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa4140e7e34e06546d509335037d1101b">truncate</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> n) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa4140e7e34e06546d509335037d1101b">truncate</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> n) -> <a class="m-doc" href="classtoml_1_1path.html">path</a>&</span>
|
||||
</dt>
|
||||
<dd>Removes the number of terminal <a class="m-doc poxy-injected" href="classtoml_1_1path__component.html">path components</a> specified by n.</dd>
|
||||
<dt id="a2f4f4b86e0a06edd27668dc12410e86b">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a2f4f4b86e0a06edd27668dc12410e86b">truncated</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> n) const -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a2f4f4b86e0a06edd27668dc12410e86b">truncated</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> n) const -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Returns a <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a> object which has had n terminal <a class="m-doc poxy-injected" href="classtoml_1_1path__component.html">path components</a> removed.</dd>
|
||||
</dl>
|
||||
@@ -424,13 +424,13 @@
|
||||
<h2>Typedef documentation</h2>
|
||||
<section class="m-doc-details" id="aaed31ecb434c644dc316042b744a6a59"><div>
|
||||
<h3>
|
||||
using toml::<wbr/>path::<wbr/><a class="m-doc-self" href="#aaed31ecb434c644dc316042b744a6a59">const_iterator</a> = <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><<a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>>::<a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a>
|
||||
using toml::<wbr/>path::<wbr/><a class="m-doc-self" href="#aaed31ecb434c644dc316042b744a6a59">const_iterator</a> = <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><<a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>>::<a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a>
|
||||
</h3>
|
||||
<p>A const iterator for iterating over the components in the path.</p><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1path__component.html">toml::<wbr/>path_component</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ad752d8838221c179af93c94d8a7ed3d2"><div>
|
||||
<h3>
|
||||
using toml::<wbr/>path::<wbr/><a class="m-doc-self" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> = <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><<a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>>::<a class="m-doc" href="classtoml_1_1path.html#ad752d8838221c179af93c94d8a7ed3d2">iterator</a>
|
||||
using toml::<wbr/>path::<wbr/><a class="m-doc-self" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> = <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/container/vector.html" target="_blank">std::<wbr/>vector</a><<a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>>::<a class="m-doc" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a>
|
||||
</h3>
|
||||
<p>An iterator for iterating over the components in the path.</p><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1path__component.html">toml::<wbr/>path_component</a></p></aside>
|
||||
</div></section>
|
||||
@@ -439,35 +439,35 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a4f340e37cfb32ca1fdfebf24e5b842b4"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a4f340e37cfb32ca1fdfebf24e5b842b4">path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) <span class="m-label m-info">explicit</span> </span></span>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a4f340e37cfb32ca1fdfebf24e5b842b4">path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>) <span class="m-label m-info">explicit</span> </span></span>
|
||||
</h3>
|
||||
<p>Construct a path by parsing from a string.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This constructor is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ae4be853daa76de724446f8aa2bff4b0f"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae4be853daa76de724446f8aa2bff4b0f">append</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> str)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae4be853daa76de724446f8aa2bff4b0f">append</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> str)</span></span>
|
||||
</h3>
|
||||
<p>Parses a path and appends it onto the end of this one.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a834f7fe3bfb77ca19faccf5394c4b381"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a834f7fe3bfb77ca19faccf5394c4b381">operator+=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a834f7fe3bfb77ca19faccf5394c4b381">operator+=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>)</span></span>
|
||||
</h3>
|
||||
<p>Parses a path and appends it onto the end of this one.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="adcbcf8f53945d889d525a9562e380308"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#adcbcf8f53945d889d525a9562e380308">assign</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> str)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#adcbcf8f53945d889d525a9562e380308">assign</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> str)</span></span>
|
||||
</h3>
|
||||
<p>Replaces the contents of the path object by a new path.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a50ed97223baadcbf26f4c2311394c04b"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a50ed97223baadcbf26f4c2311394c04b">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a50ed97223baadcbf26f4c2311394c04b">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>)</span></span>
|
||||
</h3>
|
||||
<p>Replaces the contents of the path by parsing from a string.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
@@ -475,14 +475,14 @@
|
||||
<section class="m-doc-details" id="af6cb0b10895f5308e1b02aec607cb5a0"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#af6cb0b10895f5308e1b02aec607cb5a0">operator+</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs)</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs)</span></span>
|
||||
</h3>
|
||||
<p>Concatenates two paths.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ae4c30c186c418ed4e7c9cc0ce1c2d167"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae4c30c186c418ed4e7c9cc0ce1c2d167">operator+</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae4c30c186c418ed4e7c9cc0ce1c2d167">operator+</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Concatenates two paths.</p>
|
||||
@@ -491,14 +491,14 @@
|
||||
<section class="m-doc-details" id="a6151f164638727d9c4df34087ec43044"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a6151f164638727d9c4df34087ec43044">operator!=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs)</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs)</span></span>
|
||||
</h3>
|
||||
<p>Returns whether two paths are not the same.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a6c525194daf7a573eae71f4b9e33ee58"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a6c525194daf7a573eae71f4b9e33ee58">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a6c525194daf7a573eae71f4b9e33ee58">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Returns whether two paths are not the same.</p>
|
||||
@@ -507,14 +507,14 @@
|
||||
<section class="m-doc-details" id="a87379c0582c782cff4740608e0343158"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a87379c0582c782cff4740608e0343158">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">path</a>& lhs,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs)</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> rhs)</span></span>
|
||||
</h3>
|
||||
<p>Returns whether two paths are the same.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a2149371c079844c9891a92fa74a89d38"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2149371c079844c9891a92fa74a89d38">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2149371c079844c9891a92fa74a89d38">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">path</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Returns whether two paths are the same.</p>
|
||||
@@ -522,49 +522,49 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a4d44a1165c0b5dc1b3171db952b56afd"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a4d44a1165c0b5dc1b3171db952b56afd">begin</a>(</span><span class="m-doc-wrap">) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a4d44a1165c0b5dc1b3171db952b56afd">begin</a>(</span><span class="m-doc-wrap">) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns an iterator to the first component in the path.</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1path__component.html">toml::<wbr/>path_component</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ad757a451dd6902f26a8d2ad3c3f15194"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ad757a451dd6902f26a8d2ad3c3f15194">begin</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ad757a451dd6902f26a8d2ad3c3f15194">begin</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const iterator to the first component in the path.</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1path__component.html">toml::<wbr/>path_component</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="adc73ea43ee4542041c58186691f665e8"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#adc73ea43ee4542041c58186691f665e8">cbegin</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#adc73ea43ee4542041c58186691f665e8">cbegin</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const iterator to the first component in the path.</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1path__component.html">toml::<wbr/>path_component</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aae5ffcde5edfbe8ae33cadafdac34bfa"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aae5ffcde5edfbe8ae33cadafdac34bfa">cend</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aae5ffcde5edfbe8ae33cadafdac34bfa">cend</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const iterator to one-past-the-last component in the path.</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1path__component.html">toml::<wbr/>path_component</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a884ed05a1f4ad2a2d4fe9133eb72a391"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a884ed05a1f4ad2a2d4fe9133eb72a391">end</a>(</span><span class="m-doc-wrap">) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#ad752d8838221c179af93c94d8a7ed3d2">iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a884ed05a1f4ad2a2d4fe9133eb72a391">end</a>(</span><span class="m-doc-wrap">) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns an iterator to one-past-the-last component in the path.</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1path__component.html">toml::<wbr/>path_component</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="add0dbda00d37c1838b55de73f31c2dc6"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#add0dbda00d37c1838b55de73f31c2dc6">end</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#aaed31ecb434c644dc316042b744a6a59">const_<wbr/>iterator</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#add0dbda00d37c1838b55de73f31c2dc6">end</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const iterator to one-past-the-last component in the path.</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1path__component.html">toml::<wbr/>path_component</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aa30721d1f0b21c4d42176063dd7ad08a"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aa30721d1f0b21c4d42176063dd7ad08a">prepend</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a>& toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aa30721d1f0b21c4d42176063dd7ad08a">prepend</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a>)</span></span>
|
||||
</h3>
|
||||
<p>Parses a path and prepends it onto the beginning of this one.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
@@ -578,7 +578,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a0a824034b0ef08cb2e497af21858a574"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0a824034b0ef08cb2e497af21858a574">wide_str</a>(</span><span class="m-doc-wrap">) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a> toml::<wbr/>path::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0a824034b0ef08cb2e497af21858a574">wide_str</a>(</span><span class="m-doc-wrap">) const</span></span>
|
||||
</h3>
|
||||
<p>Returns a string representation of this path.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -85,15 +85,15 @@
|
||||
</dt>
|
||||
<dd>Default constructor (creates an empty key).</dd>
|
||||
<dt id="ae8588444d8e20eedda3c7c9de020211d">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae8588444d8e20eedda3c7c9de020211d">path_component</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae8588444d8e20eedda3c7c9de020211d">path_component</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructor for a path component that is an array index.</dd>
|
||||
<dt id="a0a43eb66501060d7904e92ce83992231">
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0a43eb66501060d7904e92ce83992231">path_component</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key)</span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0a43eb66501060d7904e92ce83992231">path_component</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key)</span>
|
||||
</dt>
|
||||
<dd>Constructor for a path component that is a key string.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#ae5cabcb9ca01c6fe1a523ebaf27b8203">path_component</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#ae5cabcb9ca01c6fe1a523ebaf27b8203">path_component</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span>
|
||||
</dt>
|
||||
<dd>Constructor for a path component that is a key string.</dd>
|
||||
<dt id="a7b6ed29a247bfb453e67e84c4000ad32">
|
||||
@@ -122,29 +122,29 @@
|
||||
</dt>
|
||||
<dd>Move-assignment operator.</dd>
|
||||
<dt id="a8a1c7128de9bde5c4e17037a827fe050">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8a1c7128de9bde5c4e17037a827fe050">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_index) -> <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8a1c7128de9bde5c4e17037a827fe050">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_index) -> <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Assigns an array index to this path component.</dd>
|
||||
<dt id="a6f6d6747a56a2480608654f682816df2">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a6f6d6747a56a2480608654f682816df2">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> new_key) -> <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a6f6d6747a56a2480608654f682816df2">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> new_key) -> <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>&</span>
|
||||
</dt>
|
||||
<dd>Assigns a path key to this path component.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a16ae3aa3861f989a6aa6ec7d5f7533f6">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> new_key) -> <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a16ae3aa3861f989a6aa6ec7d5f7533f6">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> new_key) -> <a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>&</span>
|
||||
</dt>
|
||||
<dd>Assigns a path key to this path component.</dd>
|
||||
<dt id="a59858d261f3e4e9e67d83835163312d5">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a59858d261f3e4e9e67d83835163312d5">type</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="namespacetoml.html#a05daf3902d4363b06fb467a3292c0bc5">path_<wbr/>component_<wbr/>type</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Retrieve the type of this path component, either <a class="m-doc" href="classtoml_1_1path__component.html#a222d79d89d6fdf075e948aa2a91ae375">path_component::<wbr/>key</a> or path_component::array_index.</dd>
|
||||
<dd>Retrieve the type of this path component, either <a class="m-doc" href="#a222d79d89d6fdf075e948aa2a91ae375">path_component::<wbr/>key</a> or path_component::array_index.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section id="array-index-accessors">
|
||||
<h2><a href="#array-index-accessors">Array index accessors</a></h2>
|
||||
<aside class="m-note m-danger"><h4>Warning</h4><p>It is undefined behaviour to call these functions when the path component does not represent an array index. Check <a class="m-doc" href="classtoml_1_1path__component.html#a59858d261f3e4e9e67d83835163312d5">type()</a> to determine the component's value type.</p></aside>
|
||||
<aside class="m-note m-danger"><h4>Warning</h4><p>It is undefined behaviour to call these functions when the path component does not represent an array index. Check <a class="m-doc" href="#a59858d261f3e4e9e67d83835163312d5">type()</a> to determine the component's value type.</p></aside>
|
||||
<dl class="m-doc">
|
||||
<dt id="aa2c540242b230123321196a87267fd58">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa2c540242b230123321196a87267fd58">index</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa2c540242b230123321196a87267fd58">index</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the array index (const lvalue overload).</dd>
|
||||
<dt id="a0776d976060500ceba2491dbcffa04e8">
|
||||
@@ -170,10 +170,10 @@
|
||||
</section>
|
||||
<section id="key-accessors">
|
||||
<h2><a href="#key-accessors">Key accessors</a></h2>
|
||||
<aside class="m-note m-danger"><h4>Warning</h4><p>It is undefined behaviour to call these functions when the path component does not represent a key. Check <a class="m-doc" href="classtoml_1_1path__component.html#a59858d261f3e4e9e67d83835163312d5">type()</a> to determine the component's value type.</p></aside>
|
||||
<aside class="m-note m-danger"><h4>Warning</h4><p>It is undefined behaviour to call these functions when the path component does not represent a key. Check <a class="m-doc" href="#a59858d261f3e4e9e67d83835163312d5">type()</a> to determine the component's value type.</p></aside>
|
||||
<dl class="m-doc">
|
||||
<dt id="a222d79d89d6fdf075e948aa2a91ae375">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a222d79d89d6fdf075e948aa2a91ae375">key</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a222d79d89d6fdf075e948aa2a91ae375">key</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the key string.</dd>
|
||||
<dt id="aa6f05d78ce148082e85ac7f648ef1b6a">
|
||||
@@ -186,14 +186,14 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="ae5cabcb9ca01c6fe1a523ebaf27b8203"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>path_component::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae5cabcb9ca01c6fe1a523ebaf27b8203">path_component</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>path_component::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae5cabcb9ca01c6fe1a523ebaf27b8203">path_component</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Constructor for a path component that is a key string.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This constructor is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a16ae3aa3861f989a6aa6ec7d5f7533f6"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>& toml::<wbr/>path_component::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a16ae3aa3861f989a6aa6ec7d5f7533f6">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> new_key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path__component.html">path_<wbr/>component</a>& toml::<wbr/>path_component::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a16ae3aa3861f989a6aa6ec7d5f7533f6">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> new_key)</span></span>
|
||||
</h3>
|
||||
<p>Assigns a path key to this path component.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -88,7 +88,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<p>The interface of this type is modeled after <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/container/map.html" target="_blank">std::<wbr/>map</a>, with some additional considerations made for the heterogeneous nature of a TOML table.</p><pre class="m-code"><span class="nn">toml</span><span class="o">::</span><span class="nc">table</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nf">parse</span><span class="p">(</span><span class="sa">R</span><span class="s">"</span><span class="dl">(</span>
|
||||
<p>The interface of this type is modeled after <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/container/map.html" target="_blank">std::<wbr/>map</a>, with some additional considerations made for the heterogeneous nature of a TOML table.</p><pre class="m-code"><span class="nn">toml</span><span class="o">::</span><span class="nc">table</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nf">parse</span><span class="p">(</span><span class="sa">R</span><span class="s">"</span><span class="dl">(</span>
|
||||
|
||||
<span class="s"> [animals]</span>
|
||||
<span class="s"> cats = [ "tiger", "lion", "puma" ]</span>
|
||||
@@ -132,7 +132,7 @@
|
||||
</dt>
|
||||
<dd>Move constructor.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a7fdc52c0aa1bd67ae6738f029787bc2f">table</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><impl::table_init_pair> kvps) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a7fdc52c0aa1bd67ae6738f029787bc2f">table</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><impl::table_init_pair> kvps) <span class="m-label m-flat m-info">explicit</span> </span>
|
||||
</dt>
|
||||
<dd>Constructs a table with one or more initial key-value pairs.</dd>
|
||||
</dl>
|
||||
@@ -173,24 +173,24 @@
|
||||
</dt>
|
||||
<dd>Removes all key-value pairs from the table.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1a90984876ccdd03aaa9e0f9801a839f">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> pos) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a1a90984876ccdd03aaa9e0f9801a839f">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> pos) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the specified key-value pair from the table.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a4dafb4ae116d92add973e5f27f880a9d">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> pos) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a4dafb4ae116d92add973e5f27f880a9d">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> pos) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the specified key-value pair from the table (const iterator overload).</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a59f4dd9e42b73c9c1ec43134bef7e113">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> begin,
|
||||
<a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> end) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a59f4dd9e42b73c9c1ec43134bef7e113">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> begin,
|
||||
<a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> end) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the key-value pairs in the range [first, last) from the table.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ac6064df3f6f23b022884390a9963c1bc">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ac6064df3f6f23b022884390a9963c1bc">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the value with the given key from the table.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#add732807ee5e8fde81ceaa33acbaa7c6">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#add732807ee5e8fde81ceaa33acbaa7c6">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a></span>
|
||||
</dt>
|
||||
<dd>Removes the value with the given key from the table.</dd>
|
||||
<dt>
|
||||
@@ -209,21 +209,21 @@
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params m-doc-template-long"><span class="m-doc-template-param">typename ValueType = void</span>, <span class="m-doc-template-param">typename KeyType</span>, <span class="m-doc-template-param">typename... ValueArgs</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a485d7763c578d716b4f22abb1db3c975">emplace</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
ValueArgs && ... args) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool></span>
|
||||
ValueArgs && ... args) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool></span>
|
||||
</dt>
|
||||
<dd>Emplaces a new value at a specific key if one did not already exist.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params m-doc-template-long"><span class="m-doc-template-param">typename ValueType = void</span>, <span class="m-doc-template-param">typename KeyType</span>, <span class="m-doc-template-param">typename... ValueArgs</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a0d2378b5d13432bf8e325c388c650189">emplace_hint</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> hint,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a0d2378b5d13432bf8e325c388c650189">emplace_hint</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> hint,
|
||||
KeyType&& key,
|
||||
ValueArgs && ... args) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a></span>
|
||||
ValueArgs && ... args) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Emplaces a new value at a specific key if one did not already exist.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename KeyType</span>, <span class="m-doc-template-param">typename ValueType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aed4c994aec5209b69d54d19f306b31bc">insert</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
ValueType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool></span>
|
||||
</dt>
|
||||
<dd>Inserts a new value at a specific key if one did not already exist.</dd>
|
||||
<dt>
|
||||
@@ -237,7 +237,7 @@
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename KeyType</span>, <span class="m-doc-template-param">typename ValueType</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aa160b71ed6bc6fc638b19b5d9a8ef569">insert_or_assign</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
ValueType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool></span>
|
||||
</dt>
|
||||
<dd>Inserts or assigns a value at a specific key.</dd>
|
||||
</dl>
|
||||
@@ -248,33 +248,33 @@
|
||||
<dt id="a68fea8ca9b1018f9675fd346b9f4512e">
|
||||
using <a class="m-doc-self" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_iterator</a> = <a class="m-doc" href="namespacetoml.html#a4bccd753f54404e0097457514177fcbb">toml::<wbr/>const_table_iterator</a>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over const key-value pairs in a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over const key-value pairs in a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dt id="a87e055bad435d5332dc496c518733a4d">
|
||||
using <a class="m-doc-self" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> = <a class="m-doc" href="namespacetoml.html#a19243ec6febf1bb834ea9e366405e317">toml::<wbr/>table_iterator</a>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over key-value pairs in a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over key-value pairs in a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dt id="a334f050427eb20c8530254f4cd6dddf3">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a334f050427eb20c8530254f4cd6dddf3">begin</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a334f050427eb20c8530254f4cd6dddf3">begin</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first key-value pair.</dd>
|
||||
<dt id="a3352f9954e03087b6f596ae23283bd3c">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a3352f9954e03087b6f596ae23283bd3c">begin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a3352f9954e03087b6f596ae23283bd3c">begin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first key-value pair.</dd>
|
||||
<dt id="a15a5f8bd6d194fcbe925a24e5b73b1fb">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a15a5f8bd6d194fcbe925a24e5b73b1fb">cbegin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a15a5f8bd6d194fcbe925a24e5b73b1fb">cbegin</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first key-value pair.</dd>
|
||||
<dt id="a311451209f990931ea25828c6091714f">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a311451209f990931ea25828c6091714f">cend</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a311451209f990931ea25828c6091714f">cend</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last key-value pair.</dd>
|
||||
<dt id="a96da67654c5ca131cfec2e3c07aa2730">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a96da67654c5ca131cfec2e3c07aa2730">end</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a96da67654c5ca131cfec2e3c07aa2730">end</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last key-value pair.</dd>
|
||||
<dt id="a40c72e81de1da66b7083cad11442cb05">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a40c72e81de1da66b7083cad11442cb05">end</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a40c72e81de1da66b7083cad11442cb05">end</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last key-value pair.</dd>
|
||||
<dt>
|
||||
@@ -320,11 +320,11 @@
|
||||
<h2><a href="#node-views">Node views</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -336,11 +336,11 @@
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -352,19 +352,19 @@
|
||||
</dt>
|
||||
<dd>Creates a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> pointing to this node.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a6d8386049f630c8551597a2180479c7c">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a6d8386049f630c8551597a2180479c7c">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected value.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a9b13a19ddfcd2f76685f57587d28701c">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a9b13a19ddfcd2f76685f57587d28701c">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected value (const overload).</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a706215b69aefbcc303e2882341c766eb">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a706215b69aefbcc303e2882341c766eb">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected value.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5c4132e9936b1d6b0d9f2ccda7417fd7">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5c4132e9936b1d6b0d9f2ccda7417fd7">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected value (const overload).</dd>
|
||||
<dt>
|
||||
@@ -381,43 +381,43 @@
|
||||
<h2><a href="#searching">Searching</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="aacf6efa6e7865211f7a1283f79a88ee0">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aacf6efa6e7865211f7a1283f79a88ee0">contains</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aacf6efa6e7865211f7a1283f79a88ee0">contains</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if the table contains a node at the given key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a7bec8d45353adeac918668a9fc5cb6a2">contains</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> bool</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a7bec8d45353adeac918668a9fc5cb6a2">contains</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> bool</span>
|
||||
</dt>
|
||||
<dd>Returns true if the table contains a node at the given key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a087ecb9d9fd4562d79f83341f0c643c0">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a087ecb9d9fd4562d79f83341f0c643c0">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets an iterator to the node at a specific key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a65a894481bab5dd2bd00690931ed2692">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a65a894481bab5dd2bd00690931ed2692">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets an iterator to the node at a specific key (const overload)</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ab1f12a827212d23ee0895fda92a5113c">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ab1f12a827212d23ee0895fda92a5113c">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Gets an iterator to the node at a specific key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a25f8f4a8c4672042d75b810856bd676f">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a25f8f4a8c4672042d75b810856bd676f">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a></span>
|
||||
</dt>
|
||||
<dd>Gets an iterator to the node at a specific key (const overload).</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#acc5180d0f3b1a78f45962f246a5d9605">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#acc5180d0f3b1a78f45962f246a5d9605">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first key-value pair with key that is <em>not less</em> than the given key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a3b678ac60d00790308b96f5e51da4274">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a3b678ac60d00790308b96f5e51da4274">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> <a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const iterator to the first key-value pair with key that is <em>not less</em> than the given key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aaaffca1b5d53d7b72d2f29c14f06d75e">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aaaffca1b5d53d7b72d2f29c14f06d75e">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first key-value pair with key that is <em>not less</em> than the given key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2799383d484028ef5f466f8d1d34f315">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2799383d484028ef5f466f8d1d34f315">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> <a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a></span>
|
||||
</dt>
|
||||
<dd>Returns a const iterator to the first key-value pair with key that is <em>not less</em> than the given key.</dd>
|
||||
</dl>
|
||||
@@ -430,7 +430,7 @@
|
||||
</dt>
|
||||
<dd>Returns true if the table is empty.</dd>
|
||||
<dt id="ad7c4105854cc817bf6e781fa7fb1b6d6">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ad7c4105854cc817bf6e781fa7fb1b6d6">size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ad7c4105854cc817bf6e781fa7fb1b6d6">size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the number of key-value pairs in the table.</dd>
|
||||
</dl>
|
||||
@@ -489,19 +489,19 @@
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="a5b86281620ba34efabf7e3c4bef9675b">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5b86281620ba34efabf7e3c4bef9675b">as_integer</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5b86281620ba34efabf7e3c4bef9675b">as_integer</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="a98c296e8a635190bab97e886c83f2648">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a98c296e8a635190bab97e886c83f2648">as_integer</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a98c296e8a635190bab97e886c83f2648">as_integer</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="aa8e3920bff569dee33fe8e34ffb6361d">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa8e3920bff569dee33fe8e34ffb6361d">as_string</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa8e3920bff569dee33fe8e34ffb6361d">as_string</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="aa8ab32e1b60f5b3b0bf9539076c89acc">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa8ab32e1b60f5b3b0bf9539076c89acc">as_string</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa8ab32e1b60f5b3b0bf9539076c89acc">as_string</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>nullptr</code>.</dd>
|
||||
<dt id="af9cb47ecee9c13ded1308b64902f8a5c">
|
||||
@@ -607,55 +607,55 @@
|
||||
<h2><a href="#value-retrieval">Value retrieval</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="ae1e3925fca9b027958934a5c015c6c98">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae1e3925fca9b027958934a5c015c6c98">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae1e3925fca9b027958934a5c015c6c98">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dd>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dt id="acadf9153fcdc5019add35426044f369e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#acadf9153fcdc5019add35426044f369e">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#acadf9153fcdc5019add35426044f369e">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dd>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aef4d6369cf64a56322b96f1a15f761c6">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aef4d6369cf64a56322b96f1a15f761c6">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dd>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae8429bf4d0d3dd15b82344b575ec2a15">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae8429bf4d0d3dd15b82344b575ec2a15">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>&</span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dd>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae6811ea7c692ac71880693e225c66aed">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae6811ea7c692ac71880693e225c66aed">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets the node at a specific key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a43afae4f760f715c69b0b8aa0a7ef071">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a43afae4f760f715c69b0b8aa0a7ef071">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets the node at a specific key (const overload).</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a637ff9b8eb2880a1084f01b7b0725b12">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>*</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a637ff9b8eb2880a1084f01b7b0725b12">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>*</span>
|
||||
</dt>
|
||||
<dd>Gets the node at a specific key.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#add0f0c51c63d385f881022cab988744c">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>*</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#add0f0c51c63d385f881022cab988744c">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>*</span>
|
||||
</dt>
|
||||
<dd>Gets the node at a specific key (const overload).</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#afb960c9b2ea8066f917d22d348758513">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> impl::wrap_node<T>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#afb960c9b2ea8066f917d22d348758513">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) -> impl::wrap_node<T>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets the node at a specific key if it is a particular type.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aa21b91ee2ed48b24bf684b762f01c684">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> const impl::wrap_node<T>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aa21b91ee2ed48b24bf684b762f01c684">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const -> const impl::wrap_node<T>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets the node at a specific key if it is a particular type (const overload).</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a32bfcd190cb9a8e06f381097a23d0b66">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> impl::wrap_node<T>*</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a32bfcd190cb9a8e06f381097a23d0b66">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) -> impl::wrap_node<T>*</span>
|
||||
</dt>
|
||||
<dd>Gets the node at a specific key if it is a particular type.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a0099ccf5df2f15ca17309c1897cb5e61">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> const impl::wrap_node<T>*</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a0099ccf5df2f15ca17309c1897cb5e61">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const -> const impl::wrap_node<T>*</span>
|
||||
</dt>
|
||||
<dd>Gets the node at a specific key if it is a particular type (const overload).</dd>
|
||||
<dt>
|
||||
@@ -724,8 +724,8 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a3d8aefefc9701472d2a314a43deba6d2">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1table.html">table</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a3d8aefefc9701472d2a314a43deba6d2">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1table.html">table</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the table out to a stream as formatted TOML.</dd>
|
||||
</dl>
|
||||
@@ -734,7 +734,7 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a7fdc52c0aa1bd67ae6738f029787bc2f"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a7fdc52c0aa1bd67ae6738f029787bc2f">table</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><impl::table_init_pair> kvps) <span class="m-label m-info">explicit</span> </span></span>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a7fdc52c0aa1bd67ae6738f029787bc2f">table</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/initializer_list.html" target="_blank">std::<wbr/>initializer_list</a><impl::table_init_pair> kvps) <span class="m-label m-info">explicit</span> </span></span>
|
||||
</h3>
|
||||
<p>Constructs a table with one or more initial key-value pairs.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -813,7 +813,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a1a90984876ccdd03aaa9e0f9801a839f"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1a90984876ccdd03aaa9e0f9801a839f">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> pos) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a1a90984876ccdd03aaa9e0f9801a839f">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> pos) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Removes the specified key-value pair from the table.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -823,13 +823,13 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">pos</td>
|
||||
<td>Iterator to the key-value pair being erased.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the key-value pair being erased.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>Iterator to the first key-value pair immediately following the removed key-value pair.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the first key-value pair immediately following the removed key-value pair.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -846,7 +846,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a4dafb4ae116d92add973e5f27f880a9d"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a4dafb4ae116d92add973e5f27f880a9d">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> pos) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a4dafb4ae116d92add973e5f27f880a9d">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> pos) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Removes the specified key-value pair from the table (const iterator overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -856,13 +856,13 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">pos</td>
|
||||
<td>Iterator to the key-value pair being erased.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the key-value pair being erased.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>Iterator to the first key-value pair immediately following the removed key-value pair.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the first key-value pair immediately following the removed key-value pair.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -879,8 +879,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a59f4dd9e42b73c9c1ec43134bef7e113"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a59f4dd9e42b73c9c1ec43134bef7e113">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> begin,
|
||||
<a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> end) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a59f4dd9e42b73c9c1ec43134bef7e113">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> begin,
|
||||
<a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> end) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Removes the key-value pairs in the range [first, last) from the table.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -890,17 +890,17 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">begin</td>
|
||||
<td>Iterator to the first key-value pair being erased.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the first key-value pair being erased.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>end</td>
|
||||
<td>Iterator to the one-past-the-last key-value pair being erased.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the one-past-the-last key-value pair being erased.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>Iterator to the first key-value pair immediately following the last removed key-value pair.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the first key-value pair immediately following the last removed key-value pair.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -918,7 +918,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ac6064df3f6f23b022884390a9963c1bc"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ac6064df3f6f23b022884390a9963c1bc">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ac6064df3f6f23b022884390a9963c1bc">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Removes the value with the given key from the table.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -954,7 +954,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="add732807ee5e8fde81ceaa33acbaa7c6"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#add732807ee5e8fde81ceaa33acbaa7c6">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#add732807ee5e8fde81ceaa33acbaa7c6">erase</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Removes the value with the given key from the table.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1033,7 +1033,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params m-doc-template-long"><span class="m-doc-template-param">typename ValueType = void</span>, <span class="m-doc-template-param">typename KeyType</span>, <span class="m-doc-template-param">typename... ValueArgs</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a485d7763c578d716b4f22abb1db3c975">emplace</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a485d7763c578d716b4f22abb1db3c975">emplace</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
ValueArgs && ... args)</span></span>
|
||||
</h3>
|
||||
<p>Emplaces a new value at a specific key if one did not already exist.</p>
|
||||
@@ -1071,7 +1071,7 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td><p>A <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a> containing:<br/></p><ul><li>An iterator to the emplacement position (or the position of the value that prevented emplacement)</li><li>A boolean indicating if the emplacement was successful.</li></ul></td>
|
||||
<td><p>A <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a> containing:<br/></p><ul><li>An iterator to the emplacement position (or the position of the value that prevented emplacement)</li><li>A boolean indicating if the emplacement was successful.</li></ul></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -1084,21 +1084,21 @@
|
||||
|
||||
<span class="k">for</span> <span class="p">(</span><span class="k">auto</span> <span class="n">k</span> <span class="o">:</span> <span class="p">{</span> <span class="s">"a"</span><span class="p">,</span> <span class="s">"d"</span> <span class="p">})</span>
|
||||
<span class="p">{</span>
|
||||
<span class="c1">// add a string using <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>'s substring constructor</span>
|
||||
<span class="c1">// add a string using <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>'s substring constructor</span>
|
||||
<span class="k">auto</span> <span class="n">result</span> <span class="o">=</span> <span class="n">tbl</span><span class="p">.</span><span class="n">emplace</span><span class="o"><</span><span class="nn">std</span><span class="o">::</span><span class="nc">string</span><span class="o">></span><span class="p">(</span><span class="n">k</span><span class="p">,</span> <span class="s">"this is not a drill"sv</span><span class="p">,</span> <span class="mi">14</span><span class="p">,</span> <span class="mi">5</span><span class="p">);</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"emplaced with key '"sv</span> <span class="o"><<</span> <span class="n">k</span> <span class="o"><<</span> <span class="s">"': "sv</span> <span class="o"><<</span> <span class="n">result</span><span class="p">.</span><span class="n">second</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
|
||||
<span class="p">}</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">tbl</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">{ a = 1, b = 2, c = 3 }</span>
|
||||
<span class="go">emplaced with key 'a': false</span>
|
||||
<span class="go">emplaced with key 'd': true</span>
|
||||
<span class="go">{ a = 1, b = 2, c = 3, d = "drill" }</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>There is no difference between <a class="m-doc" href="classtoml_1_1table.html#aed4c994aec5209b69d54d19f306b31bc">insert()</a> and <a class="m-doc" href="classtoml_1_1table.html#a485d7763c578d716b4f22abb1db3c975">emplace()</a> for trivial value types (floats, ints, bools).</p></aside>
|
||||
<span class="go">{ a = 1, b = 2, c = 3, d = "drill" }</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>There is no difference between <a class="m-doc" href="#aed4c994aec5209b69d54d19f306b31bc">insert()</a> and <a class="m-doc" href="#a485d7763c578d716b4f22abb1db3c975">emplace()</a> for trivial value types (floats, ints, bools).</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a0d2378b5d13432bf8e325c388c650189"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params m-doc-template-long"><span class="m-doc-template-param">typename ValueType = void</span>, <span class="m-doc-template-param">typename KeyType</span>, <span class="m-doc-template-param">typename... ValueArgs</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0d2378b5d13432bf8e325c388c650189">emplace_hint</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> hint,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0d2378b5d13432bf8e325c388c650189">emplace_hint</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> hint,
|
||||
KeyType&& key,
|
||||
ValueArgs && ... args)</span></span>
|
||||
</h3>
|
||||
@@ -1127,7 +1127,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>hint</td>
|
||||
<td>Iterator to the position before which the new element will be emplaced.</td>
|
||||
<td><a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/Iterator" target="_blank">Iterator</a> to the position before which the new element will be emplaced.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>key</td>
|
||||
@@ -1145,14 +1145,14 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<aside class="m-note m-info"><h4>Note</h4><p>This function has exactly the same semantics as <a class="poxy-external" href="https://en.cppreference.com/w/cpp/container/map/emplace_hint" target="_blank">std::<wbr/>map::<wbr/>emplace_hint()</a>.</p></aside>
|
||||
<aside class="m-note m-info"><h4>Note</h4><p>This function has exactly the same semantics as <a class="poxy-cppreference poxy-external" href="https://en.cppreference.com/w/cpp/container/map/emplace_hint" target="_blank">std::<wbr/>map::<wbr/>emplace_hint()</a>.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aed4c994aec5209b69d54d19f306b31bc"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename KeyType</span>, <span class="m-doc-template-param">typename ValueType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aed4c994aec5209b69d54d19f306b31bc">insert</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aed4c994aec5209b69d54d19f306b31bc">insert</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
ValueType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span></span>
|
||||
</h3>
|
||||
@@ -1193,11 +1193,11 @@
|
||||
<th>Returns</th>
|
||||
<td><p><strong><em>Valid input:</em></strong></p><ul><li>An iterator to the insertion position (or the position of the value that prevented insertion)</li><li>A boolean indicating if the insertion was successful.</li></ul>
|
||||
<p><strong><em>Input is a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>:</em></strong>
|
||||
<code>{ <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>, false }</code></p></td>
|
||||
<code>{ <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>, false }</code></p></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<pre class="m-code"><p class="m-note m-success godbolt"><a class="poxy-external godbolt" href="https://godbolt.org/z/bMnW5r" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="p">{</span>
|
||||
<pre class="m-code"><p class="m-note m-success poxy-godbolt"><a class="poxy-external poxy-godbolt" href="https://godbolt.org/z/bMnW5r" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="p">{</span>
|
||||
<span class="p">{</span> <span class="s">"a"</span><span class="p">,</span> <span class="mi">1</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"b"</span><span class="p">,</span> <span class="mi">2</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"c"</span><span class="p">,</span> <span class="mi">3</span> <span class="p">}</span>
|
||||
@@ -1218,7 +1218,7 @@
|
||||
<span class="go">a = 1</span>
|
||||
<span class="go">b = 2</span>
|
||||
<span class="go">c = 3</span>
|
||||
<span class="go">d = 42</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code>{ <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>, false }</code> if the input value was an null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no insertion can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
<span class="go">d = 42</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code>{ <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>, false }</code> if the input value was an null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no insertion can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a331eb6de04d95c3f76bf64e6f84d4ad6"><div>
|
||||
<h3>
|
||||
@@ -1237,7 +1237,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">Iter</td>
|
||||
<td>An <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/InputIterator" target="_blank">InputIterator</a> to a collection of key-value pairs.</td>
|
||||
<td>An <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/InputIterator" target="_blank">InputIterator</a> to a collection of key-value pairs.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
@@ -1258,7 +1258,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<pre class="m-code"><p class="m-note m-success godbolt"><a class="poxy-external godbolt" href="https://godbolt.org/z/bzYcce" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="p">{</span>
|
||||
<pre class="m-code"><p class="m-note m-success poxy-godbolt"><a class="poxy-external poxy-godbolt" href="https://godbolt.org/z/bzYcce" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="p">{</span>
|
||||
<span class="p">{</span> <span class="s">"a"</span><span class="p">,</span> <span class="mi">1</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"b"</span><span class="p">,</span> <span class="mi">2</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"c"</span><span class="p">,</span> <span class="mi">3</span> <span class="p">}</span>
|
||||
@@ -1284,7 +1284,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename KeyType</span>, <span class="m-doc-template-param">typename ValueType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aa160b71ed6bc6fc638b19b5d9a8ef569">insert_or_assign</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/pair.html" target="_blank">std::<wbr/>pair</a><<a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a>, bool> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aa160b71ed6bc6fc638b19b5d9a8ef569">insert_or_assign</a>(</span><span class="m-doc-wrap">KeyType&& key,
|
||||
ValueType&& val,
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags = <a class="m-doc" href="namespacetoml.html#a32f700b152e15c357801e905d626a4fb">preserve_<wbr/>source_<wbr/>value_<wbr/>flags</a>)</span></span>
|
||||
</h3>
|
||||
@@ -1325,11 +1325,11 @@
|
||||
<th>Returns</th>
|
||||
<td><p><strong><em>Valid input:</em></strong></p><ul><li>An iterator to the value's position</li><li><code>true</code> if the value was inserted, <code>false</code> if it was assigned.</li></ul>
|
||||
<p><strong><em>Input is a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>:</em></strong>
|
||||
<code>{ <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>, false }</code></p></td>
|
||||
<code>{ <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>, false }</code></p></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<pre class="m-code"><p class="m-note m-success godbolt"><a class="poxy-external godbolt" href="https://godbolt.org/z/ddK563" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="p">{</span>
|
||||
<pre class="m-code"><p class="m-note m-success poxy-godbolt"><a class="poxy-external poxy-godbolt" href="https://godbolt.org/z/ddK563" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="p">{</span>
|
||||
<span class="p">{</span> <span class="s">"a"</span><span class="p">,</span> <span class="mi">1</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"b"</span><span class="p">,</span> <span class="mi">2</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"c"</span><span class="p">,</span> <span class="mi">3</span> <span class="p">}</span>
|
||||
@@ -1351,7 +1351,7 @@
|
||||
<span class="go">a = 42</span>
|
||||
<span class="go">b = 2</span>
|
||||
<span class="go">c = 3</span>
|
||||
<span class="go">d = 42</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code>{ <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>, false }</code> if the input value was a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no insertion or assignment can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
<span class="go">d = 42</span></pre><aside class="m-note m-warning"><h4>Attention</h4><p>The return value will always be <code>{ <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>, false }</code> if the input value was a null <a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a>, because no insertion or assignment can take place. This is the only circumstance in which this can occur.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ac22ee86d5b83fd73a8013d39be1cc698"><div>
|
||||
<h3>
|
||||
@@ -1398,7 +1398,7 @@
|
||||
<span class="p">};</span>
|
||||
|
||||
<span class="c1">// select only the integers using a strongly-typed visitor</span>
|
||||
<span class="n">tbl</span><span class="p">.</span><span class="nf">for_each</span><span class="p">([](</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>&</span> <span class="n">val</span><span class="p">)</span>
|
||||
<span class="n">tbl</span><span class="p">.</span><span class="nf">for_each</span><span class="p">([](</span><span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">>&</span> <span class="n">val</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="n">val</span> <span class="o"><<</span> <span class="s">", "</span><span class="p">;</span>
|
||||
<span class="p">});</span>
|
||||
@@ -1465,7 +1465,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<pre class="m-code"><p class="m-note m-success godbolt"><a class="poxy-external godbolt" href="https://godbolt.org/z/an9xdj" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="p">{</span>
|
||||
<pre class="m-code"><p class="m-note m-success poxy-godbolt"><a class="poxy-external poxy-godbolt" href="https://godbolt.org/z/an9xdj" target="_blank">Try this code on Compiler Explorer</a></p><span class="k">auto</span> <span class="n">tbl</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">table</span><span class="p">{</span>
|
||||
<span class="p">{</span> <span class="s">"a"</span><span class="p">,</span> <span class="mi">1</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"b"</span><span class="p">,</span> <span class="mi">2</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"c"</span><span class="p">,</span> <span class="mi">3</span> <span class="p">},</span>
|
||||
@@ -1490,7 +1490,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a6d8386049f630c8551597a2180479c7c"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a6d8386049f630c8551597a2180479c7c">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a6d8386049f630c8551597a2180479c7c">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected value.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1510,11 +1510,11 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/container/map" target="_blank">std::map</a>::operator[]'s behaviour of default-constructing a value at a key if it didn't exist is a crazy bug factory so I've deliberately chosen not to emulate it. <strong>This is not an error.</strong></p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a></p></aside>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/container/map" target="_blank">std::map</a>::operator[]'s behaviour of default-constructing a value at a key if it didn't exist is a crazy bug factory so I've deliberately chosen not to emulate it. <strong>This is not an error.</strong></p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a9b13a19ddfcd2f76685f57587d28701c"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9b13a19ddfcd2f76685f57587d28701c">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9b13a19ddfcd2f76685f57587d28701c">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected value (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1534,11 +1534,11 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/container/map" target="_blank">std::map</a>::operator[]'s behaviour of default-constructing a value at a key if it didn't exist is a crazy bug factory so I've deliberately chosen not to emulate it. <strong>This is not an error.</strong></p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a></p></aside>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/container/map" target="_blank">std::map</a>::operator[]'s behaviour of default-constructing a value at a key if it didn't exist is a crazy bug factory so I've deliberately chosen not to emulate it. <strong>This is not an error.</strong></p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a706215b69aefbcc303e2882341c766eb"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a706215b69aefbcc303e2882341c766eb">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a706215b69aefbcc303e2882341c766eb">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected value.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1558,11 +1558,11 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>Remark</h4><p><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/container/map" target="_blank">std::map</a>::operator[]'s behaviour of default-constructing a value at a key if it didn't exist is a crazy bug factory so I've deliberately chosen not to emulate it. <strong>This is not an error.</strong></p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a></p></aside>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>Remark</h4><p><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/container/map" target="_blank">std::map</a>::operator[]'s behaviour of default-constructing a value at a key if it didn't exist is a crazy bug factory so I've deliberately chosen not to emulate it. <strong>This is not an error.</strong></p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a5c4132e9936b1d6b0d9f2ccda7417fd7"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5c4132e9936b1d6b0d9f2ccda7417fd7">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5c4132e9936b1d6b0d9f2ccda7417fd7">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Gets a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> for the selected value (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1582,18 +1582,18 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>Remark</h4><p><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/container/map" target="_blank">std::map</a>::operator[]'s behaviour of default-constructing a value at a key if it didn't exist is a crazy bug factory so I've deliberately chosen not to emulate it. <strong>This is not an error.</strong></p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a></p></aside>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>Remark</h4><p><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/container/map" target="_blank">std::map</a>::operator[]'s behaviour of default-constructing a value at a key if it didn't exist is a crazy bug factory so I've deliberately chosen not to emulate it. <strong>This is not an error.</strong></p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="classtoml_1_1node__view.html">toml::<wbr/>node_view</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a7bec8d45353adeac918668a9fc5cb6a2"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a7bec8d45353adeac918668a9fc5cb6a2">contains</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a7bec8d45353adeac918668a9fc5cb6a2">contains</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Returns true if the table contains a node at the given key.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a087ecb9d9fd4562d79f83341f0c643c0"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a087ecb9d9fd4562d79f83341f0c643c0">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a087ecb9d9fd4562d79f83341f0c643c0">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets an iterator to the node at a specific key.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1609,14 +1609,14 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>An iterator to the node at the specified key, or <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
<td>An iterator to the node at the specified key, or <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a65a894481bab5dd2bd00690931ed2692"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a65a894481bab5dd2bd00690931ed2692">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a65a894481bab5dd2bd00690931ed2692">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets an iterator to the node at a specific key (const overload)</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1632,14 +1632,14 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>A const iterator to the node at the specified key, or <a class="m-doc" href="classtoml_1_1table.html#a311451209f990931ea25828c6091714f">cend()</a>.</td>
|
||||
<td>A const iterator to the node at the specified key, or <a class="m-doc" href="#a311451209f990931ea25828c6091714f">cend()</a>.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ab1f12a827212d23ee0895fda92a5113c"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ab1f12a827212d23ee0895fda92a5113c">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ab1f12a827212d23ee0895fda92a5113c">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Gets an iterator to the node at a specific key.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1655,7 +1655,7 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>An iterator to the node at the specified key, or <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
<td>An iterator to the node at the specified key, or <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -1663,7 +1663,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a25f8f4a8c4672042d75b810856bd676f"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a25f8f4a8c4672042d75b810856bd676f">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a25f8f4a8c4672042d75b810856bd676f">find</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Gets an iterator to the node at a specific key (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1679,7 +1679,7 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>A const iterator to the node at the specified key, or <a class="m-doc" href="classtoml_1_1table.html#a311451209f990931ea25828c6091714f">cend()</a>.</td>
|
||||
<td>A const iterator to the node at the specified key, or <a class="m-doc" href="#a311451209f990931ea25828c6091714f">cend()</a>.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -1687,42 +1687,42 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="acc5180d0f3b1a78f45962f246a5d9605"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acc5180d0f3b1a78f45962f246a5d9605">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acc5180d0f3b1a78f45962f246a5d9605">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns an iterator to the first key-value pair with key that is <em>not less</em> than the given key.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style="width: 1%">Returns</th>
|
||||
<td>An iterator to the first matching key-value pair, or <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
<td>An iterator to the first matching key-value pair, or <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a3b678ac60d00790308b96f5e51da4274"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a3b678ac60d00790308b96f5e51da4274">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a3b678ac60d00790308b96f5e51da4274">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const iterator to the first key-value pair with key that is <em>not less</em> than the given key.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style="width: 1%">Returns</th>
|
||||
<td>An iterator to the first matching key-value pair, or <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
<td>An iterator to the first matching key-value pair, or <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aaaffca1b5d53d7b72d2f29c14f06d75e"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aaaffca1b5d53d7b72d2f29c14f06d75e">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a87e055bad435d5332dc496c518733a4d">iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aaaffca1b5d53d7b72d2f29c14f06d75e">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Returns an iterator to the first key-value pair with key that is <em>not less</em> than the given key.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style="width: 1%">Returns</th>
|
||||
<td>An iterator to the first matching key-value pair, or <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
<td>An iterator to the first matching key-value pair, or <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -1730,14 +1730,14 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a2799383d484028ef5f466f8d1d34f315"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1table.html#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2799383d484028ef5f466f8d1d34f315">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a68fea8ca9b1018f9675fd346b9f4512e">const_<wbr/>iterator</a> toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2799383d484028ef5f466f8d1d34f315">lower_bound</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Returns a const iterator to the first key-value pair with key that is <em>not less</em> than the given key.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style="width: 1%">Returns</th>
|
||||
<td>An iterator to the first matching key-value pair, or <a class="m-doc" href="classtoml_1_1table.html#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
<td>An iterator to the first matching key-value pair, or <a class="m-doc" href="#a96da67654c5ca131cfec2e3c07aa2730">end()</a>.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -1814,21 +1814,21 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aef4d6369cf64a56322b96f1a15f761c6"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html">node</a>& toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aef4d6369cf64a56322b96f1a15f761c6">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html">node</a>& toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aef4d6369cf64a56322b96f1a15f761c6">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</p>
|
||||
<p>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ae8429bf4d0d3dd15b82344b575ec2a15"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1node.html">node</a>& toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae8429bf4d0d3dd15b82344b575ec2a15">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1node.html">node</a>& toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae8429bf4d0d3dd15b82344b575ec2a15">at</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</p>
|
||||
<p>Gets a reference to the element at a specific key, throwing <code><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/error/out_of_range.html" target="_blank">std::<wbr/>out_of_range</a></code> if none existed.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ae6811ea7c692ac71880693e225c66aed"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae6811ea7c692ac71880693e225c66aed">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae6811ea7c692ac71880693e225c66aed">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets the node at a specific key.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1863,7 +1863,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a43afae4f760f715c69b0b8aa0a7ef071"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a43afae4f760f715c69b0b8aa0a7ef071">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a43afae4f760f715c69b0b8aa0a7ef071">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets the node at a specific key (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1886,7 +1886,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a637ff9b8eb2880a1084f01b7b0725b12"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a637ff9b8eb2880a1084f01b7b0725b12">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a637ff9b8eb2880a1084f01b7b0725b12">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Gets the node at a specific key.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1910,7 +1910,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="add0f0c51c63d385f881022cab988744c"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#add0f0c51c63d385f881022cab988744c">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1node.html">node</a>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#add0f0c51c63d385f881022cab988744c">get</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Gets the node at a specific key (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1937,7 +1937,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">impl::wrap_node<T>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#afb960c9b2ea8066f917d22d348758513">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper">impl::wrap_node<T>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#afb960c9b2ea8066f917d22d348758513">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets the node at a specific key if it is a particular type.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1970,7 +1970,7 @@
|
||||
<span class="p">{</span> <span class="s">"a"</span><span class="p">,</span> <span class="mi">42</span><span class="p">,</span> <span class="p">},</span>
|
||||
<span class="p">{</span> <span class="s">"b"</span><span class="p">,</span> <span class="s">"is the meaning of life, apparently."</span> <span class="p">}</span>
|
||||
<span class="p">};</span>
|
||||
<span class="k">if</span> <span class="p">(</span><span class="k">auto</span> <span class="n">val</span> <span class="o">=</span> <span class="n">arr</span><span class="p">.</span><span class="n">get_as</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">(</span><span class="s">"a"</span><span class="p">))</span>
|
||||
<span class="k">if</span> <span class="p">(</span><span class="k">auto</span> <span class="n">val</span> <span class="o">=</span> <span class="n">arr</span><span class="p">.</span><span class="n">get_as</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">(</span><span class="s">"a"</span><span class="p">))</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="sa">R</span><span class="s">"</span><span class="dl">(</span><span class="s">node ["a"] was an integer with value </span><span class="dl">)</span><span class="s">"sv</span> <span class="o"><<</span> <span class="o">**</span><span class="n">val</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">node ["a"] was an integer with value 42</span></pre>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aa21b91ee2ed48b24bf684b762f01c684"><div>
|
||||
@@ -1978,7 +1978,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">const impl::wrap_node<T>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aa21b91ee2ed48b24bf684b762f01c684">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper">const impl::wrap_node<T>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aa21b91ee2ed48b24bf684b762f01c684">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> key) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets the node at a specific key if it is a particular type (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -2013,7 +2013,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">impl::wrap_node<T>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a32bfcd190cb9a8e06f381097a23d0b66">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
<span class="m-doc-wrap-bumper">impl::wrap_node<T>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a32bfcd190cb9a8e06f381097a23d0b66">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key)</span></span>
|
||||
</h3>
|
||||
<p>Gets the node at a specific key if it is a particular type.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -2049,7 +2049,7 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">const impl::wrap_node<T>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0099ccf5df2f15ca17309c1897cb5e61">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
<span class="m-doc-wrap-bumper">const impl::wrap_node<T>* toml::<wbr/>table::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0099ccf5df2f15ca17309c1897cb5e61">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> key) const</span></span>
|
||||
</h3>
|
||||
<p>Gets the node at a specific key if it is a particular type (const overload).</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -2082,7 +2082,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a3d8aefefc9701472d2a314a43deba6d2"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a3d8aefefc9701472d2a314a43deba6d2">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a3d8aefefc9701472d2a314a43deba6d2">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1table.html">table</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints the table out to a stream as formatted TOML.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -104,12 +104,12 @@
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a8110aaa1057d7633428f6795ac14983a">toml_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">toml::<wbr/>node</a>& source,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1toml__formatter.html#a0aa00006896f1b23e8bb2ec1a6842845">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#a0aa00006896f1b23e8bb2ec1a6842845">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs a TOML formatter and binds it to a TOML object.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a3af0ca99139edbd30845a5cd7d2c0137">toml_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>& result,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1toml__formatter.html#a0aa00006896f1b23e8bb2ec1a6842845">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#a0aa00006896f1b23e8bb2ec1a6842845">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs a TOML formatter and binds it to a <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>.</dd>
|
||||
</dl>
|
||||
@@ -118,13 +118,13 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a50815f484095776407f34b1694bbf73e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a50815f484095776407f34b1694bbf73e">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1toml__formatter.html">toml_<wbr/>formatter</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a50815f484095776407f34b1694bbf73e">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1toml__formatter.html">toml_<wbr/>formatter</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the bound TOML object out to the stream as formatted TOML.</dd>
|
||||
<dt id="af02b5eabe1e84be843255c7cf02e8dda">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af02b5eabe1e84be843255c7cf02e8dda">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1toml__formatter.html">toml_<wbr/>formatter</a>&& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af02b5eabe1e84be843255c7cf02e8dda">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1toml__formatter.html">toml_<wbr/>formatter</a>&& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the bound TOML object out to the stream as formatted TOML (rvalue overload).</dd>
|
||||
</dl>
|
||||
@@ -134,7 +134,7 @@
|
||||
<section class="m-doc-details" id="a8110aaa1057d7633428f6795ac14983a"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>toml_formatter::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8110aaa1057d7633428f6795ac14983a">toml_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">toml::<wbr/>node</a>& source,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1toml__formatter.html#a0aa00006896f1b23e8bb2ec1a6842845">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#a0aa00006896f1b23e8bb2ec1a6842845">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Constructs a TOML formatter and binds it to a TOML object.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -156,7 +156,7 @@
|
||||
<section class="m-doc-details" id="a3af0ca99139edbd30845a5cd7d2c0137"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>toml_formatter::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a3af0ca99139edbd30845a5cd7d2c0137">toml_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>& result,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1toml__formatter.html#a0aa00006896f1b23e8bb2ec1a6842845">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#a0aa00006896f1b23e8bb2ec1a6842845">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Constructs a TOML formatter and binds it to a <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -70,7 +70,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">ValueType</td>
|
||||
<td><p>The value's native TOML data type. Can be one of:</p><ul><li><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></li><li><a class="m-doc" href="structtoml_1_1date.html">toml::<wbr/>date</a></li><li><a class="m-doc" href="structtoml_1_1time.html">toml::<wbr/>time</a></li><li><a class="m-doc" href="structtoml_1_1date__time.html">toml::<wbr/>date_time</a></li><li><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></li><li>double</li><li>bool</li></ul></td>
|
||||
<td><p>The value's native TOML data type. Can be one of:</p><ul><li><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a></li><li><a class="m-doc" href="structtoml_1_1date.html">toml::<wbr/>date</a></li><li><a class="m-doc" href="structtoml_1_1time.html">toml::<wbr/>time</a></li><li><a class="m-doc" href="structtoml_1_1date__time.html">toml::<wbr/>date_time</a></li><li><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></li><li>double</li><li>bool</li></ul></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -157,7 +157,7 @@
|
||||
</dt>
|
||||
<dd>Move-assignment operator.</dd>
|
||||
<dt id="a08950deffd1a5568154d58d27517c973">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a08950deffd1a5568154d58d27517c973">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> <a class="m-doc" href="classtoml_1_1value.html">value</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a08950deffd1a5568154d58d27517c973">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> <a class="m-doc" href="classtoml_1_1value.html">value</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value-assignment operator.</dd>
|
||||
</dl>
|
||||
@@ -173,11 +173,11 @@
|
||||
<dd>Inequality operator.</dd>
|
||||
<dt id="a1771aa33bd2d425b542d0b9d0e90866d">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1771aa33bd2d425b542d0b9d0e90866d">operator<</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value less-than operator.</dd>
|
||||
<dt id="a6bbe09942bd6046fa94addb911940491">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a6bbe09942bd6046fa94addb911940491">operator<</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a6bbe09942bd6046fa94addb911940491">operator<</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1value.html">value</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value less-than operator.</dd>
|
||||
@@ -189,11 +189,11 @@
|
||||
<dd>Less-than operator.</dd>
|
||||
<dt id="a7d02565c608c663afc8f3d2102639740">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a7d02565c608c663afc8f3d2102639740">operator<=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value less-than-or-equal-to operator.</dd>
|
||||
<dt id="a2f37f69d3e477c0c2e2ba16f6919815e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a2f37f69d3e477c0c2e2ba16f6919815e">operator<=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a2f37f69d3e477c0c2e2ba16f6919815e">operator<=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1value.html">value</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value less-than-or-equal-to operator.</dd>
|
||||
@@ -205,7 +205,7 @@
|
||||
<dd>Less-than-or-equal-to operator.</dd>
|
||||
<dt id="a0b90e4f85ecaf2c81e4ba8b42aa5ce34">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a0b90e4f85ecaf2c81e4ba8b42aa5ce34">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value equality operator.</dd>
|
||||
<dt>
|
||||
@@ -216,11 +216,11 @@
|
||||
<dd>Equality operator.</dd>
|
||||
<dt id="ace8c00e345c69ee93e5d2bd2df694340">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ace8c00e345c69ee93e5d2bd2df694340">operator></a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value greater-than operator.</dd>
|
||||
<dt id="af200f2be4273ed0923743f4b918f86e6">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af200f2be4273ed0923743f4b918f86e6">operator></a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af200f2be4273ed0923743f4b918f86e6">operator></a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1value.html">value</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value greater-than operator.</dd>
|
||||
@@ -232,11 +232,11 @@
|
||||
<dd>Greater-than operator.</dd>
|
||||
<dt id="a80417b5055072f20d3a6985d1b78af21">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a80417b5055072f20d3a6985d1b78af21">operator>=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value greater-than-or-equal-to operator.</dd>
|
||||
<dt id="a727e2acd21edf04a144918d174706ba6">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a727e2acd21edf04a144918d174706ba6">operator>=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1value.html#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> lhs,
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a727e2acd21edf04a144918d174706ba6">operator>=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ac1316850f0671bab2505d126570e3660">value_<wbr/>arg</a> lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1value.html">value</a>& rhs) -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Value greater-than-or-equal-to operator.</dd>
|
||||
@@ -269,11 +269,11 @@
|
||||
<h2><a href="#node-views">Node views</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a20a0cfac8f31649544db5d9eead609f9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#acf55d2ffe0c31b6a8507fb1265444be2">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -285,11 +285,11 @@
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a9b4d952e01bd2fafe7c307d61d4a247f">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#aca7e24cd0070ce226defd71eb501c4cd">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) const -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -364,21 +364,21 @@
|
||||
</dt>
|
||||
<dd>Returns a const-qualified pointer to the value if it is a value<double>, otherwise <code>nullptr</code>.</dd>
|
||||
<dt id="a170f66cced91fc2886c22df7d45f8f73">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a170f66cced91fc2886c22df7d45f8f73">as_integer</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a170f66cced91fc2886c22df7d45f8f73">as_integer</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a pointer to the value if it is a value<<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, otherwise <code>nullptr</code>.</dd>
|
||||
<dd>Returns a pointer to the value if it is a value<<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, otherwise <code>nullptr</code>.</dd>
|
||||
<dt id="aac0acf026dfb903349ce49321153f55d">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aac0acf026dfb903349ce49321153f55d">as_integer</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aac0acf026dfb903349ce49321153f55d">as_integer</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const-qualified pointer to the value if it is a value<<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, otherwise <code>nullptr</code>.</dd>
|
||||
<dd>Returns a const-qualified pointer to the value if it is a value<<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>, otherwise <code>nullptr</code>.</dd>
|
||||
<dt id="a9a7177395eb559e2ed2c117832dace2a">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9a7177395eb559e2ed2c117832dace2a">as_string</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">value</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9a7177395eb559e2ed2c117832dace2a">as_string</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html">value</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a pointer to the value if it is a <a class="m-doc" href="classtoml_1_1value.html#ab7aa8ba30bd6ead7db1e9cadbff39e22">value<std::<wbr/>string></a>, otherwise <code>nullptr</code>.</dd>
|
||||
<dd>Returns a pointer to the value if it is a <a class="m-doc" href="#ab7aa8ba30bd6ead7db1e9cadbff39e22">value<std::<wbr/>string></a>, otherwise <code>nullptr</code>.</dd>
|
||||
<dt id="a316fa5b1b2764447c8d51c38071f79c1">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a316fa5b1b2764447c8d51c38071f79c1">as_string</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">value</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a316fa5b1b2764447c8d51c38071f79c1">as_string</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html">value</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const-qualified pointer to the value if it is a <a class="m-doc" href="classtoml_1_1value.html#ab7aa8ba30bd6ead7db1e9cadbff39e22">value<std::<wbr/>string></a>, otherwise <code>nullptr</code>.</dd>
|
||||
<dd>Returns a const-qualified pointer to the value if it is a <a class="m-doc" href="#ab7aa8ba30bd6ead7db1e9cadbff39e22">value<std::<wbr/>string></a>, otherwise <code>nullptr</code>.</dd>
|
||||
<dt id="a684976e4e2ea671e7bd21c39a4f73575">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a684976e4e2ea671e7bd21c39a4f73575">as_table</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1table.html">table</a>* <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -416,19 +416,19 @@
|
||||
<dt id="a6816cd2fbae35e21990d3d5616da595a">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a6816cd2fbae35e21990d3d5616da595a">is_boolean</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <code>bool</code>.</dd>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <code>bool</code>.</dd>
|
||||
<dt id="a47ebc97c4b51999c81eb053d453ac916">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a47ebc97c4b51999c81eb053d453ac916">is_date</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc" href="structtoml_1_1date.html">toml::<wbr/>date</a>.</dd>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc" href="structtoml_1_1date.html">toml::<wbr/>date</a>.</dd>
|
||||
<dt id="a1e8fb6a37f65fff99a631ade34ab6db4">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1e8fb6a37f65fff99a631ade34ab6db4">is_date_time</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is toml_date_time.</dd>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is toml_date_time.</dd>
|
||||
<dt id="aa5b3aac577c60b24f31550f8b7add69f">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa5b3aac577c60b24f31550f8b7add69f">is_floating_point</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <code>double</code>.</dd>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <code>double</code>.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a66f31db0fe4aa1a65fff1ce3bb8be1eb">is_homogeneous</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> ntype) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -451,15 +451,15 @@
|
||||
<dt id="ad5b1844c180a0fb2de06ed4cdbb259a4">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ad5b1844c180a0fb2de06ed4cdbb259a4">is_integer</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>.</dd>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>.</dd>
|
||||
<dt id="ad40ad64d9a8f0256e550a9226dbed121">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ad40ad64d9a8f0256e550a9226dbed121">is_number</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a> or <code>double</code>.</dd>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a> or <code>double</code>.</dd>
|
||||
<dt id="a98d477b7ee151d7fc68c49ea7c52a314">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a98d477b7ee151d7fc68c49ea7c52a314">is_string</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>.</dd>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>.</dd>
|
||||
<dt id="a4169ed284f3a6d31e838f117dc2f3df0">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a4169ed284f3a6d31e838f117dc2f3df0">is_table</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -467,7 +467,7 @@
|
||||
<dt id="a9a1a2e0a15181c6677d14a2812e34878">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9a1a2e0a15181c6677d14a2812e34878">is_time</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc" href="structtoml_1_1time.html">toml::<wbr/>time</a>.</dd>
|
||||
<dd>Returns <code>true</code> if the <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is <a class="m-doc" href="structtoml_1_1time.html">toml::<wbr/>time</a>.</dd>
|
||||
<dt id="a5d1d988a74ab5c6e6cae9706891083f3">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5d1d988a74ab5c6e6cae9706891083f3">is_value</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
@@ -482,19 +482,19 @@
|
||||
<h2><a href="#value-retrieval">Value retrieval</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="af607a8347e5918b35fcfb11e8f7d4398">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af607a8347e5918b35fcfb11e8f7d4398">get</a>(</span><span class="m-doc-wrap">) & -> <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af607a8347e5918b35fcfb11e8f7d4398">get</a>(</span><span class="m-doc-wrap">) & -> <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value.</dd>
|
||||
<dt id="a0b4ea781b83a3c164df24129d0e73341">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a0b4ea781b83a3c164df24129d0e73341">get</a>(</span><span class="m-doc-wrap">) && -> <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a0b4ea781b83a3c164df24129d0e73341">get</a>(</span><span class="m-doc-wrap">) && -> <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value (rvalue overload).</dd>
|
||||
<dt id="a3a0ec9ea9604d68ba9a9a4692868f8d8">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a3a0ec9ea9604d68ba9a9a4692868f8d8">get</a>(</span><span class="m-doc-wrap">) const & -> const <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a3a0ec9ea9604d68ba9a9a4692868f8d8">get</a>(</span><span class="m-doc-wrap">) const & -> const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value (const overload).</dd>
|
||||
<dt id="ae3bb95e7af4622ded16328b827a6089d">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae3bb95e7af4622ded16328b827a6089d">get</a>(</span><span class="m-doc-wrap">) const && -> const <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae3bb95e7af4622ded16328b827a6089d">get</a>(</span><span class="m-doc-wrap">) const && -> const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value (const rvalue overload).</dd>
|
||||
<dt id="aeaa7f385c753bc7f11f0758d8ae325b6">
|
||||
@@ -514,27 +514,27 @@
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value (rvalue overload).</dd>
|
||||
<dt id="a054c1fb796a4e560d4afb27019bb1aef">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a054c1fb796a4e560d4afb27019bb1aef">operator*</a>(</span><span class="m-doc-wrap">) & -> <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a054c1fb796a4e560d4afb27019bb1aef">operator*</a>(</span><span class="m-doc-wrap">) & -> <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value.</dd>
|
||||
<dt id="a64ad94a1086eedde1a94f12f020498d2">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a64ad94a1086eedde1a94f12f020498d2">operator*</a>(</span><span class="m-doc-wrap">) && -> <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a64ad94a1086eedde1a94f12f020498d2">operator*</a>(</span><span class="m-doc-wrap">) && -> <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value (rvalue overload).</dd>
|
||||
<dt id="a15e56286d17f11a4d567eaddb36368f8">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a15e56286d17f11a4d567eaddb36368f8">operator*</a>(</span><span class="m-doc-wrap">) const & -> const <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a15e56286d17f11a4d567eaddb36368f8">operator*</a>(</span><span class="m-doc-wrap">) const & -> const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value (const overload).</dd>
|
||||
<dt id="a752f50ec7dac91b579e48db6a15f388e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a752f50ec7dac91b579e48db6a15f388e">operator*</a>(</span><span class="m-doc-wrap">) const && -> const <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a752f50ec7dac91b579e48db6a15f388e">operator*</a>(</span><span class="m-doc-wrap">) const && -> const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the underlying value (const rvalue overload).</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a79983137e697848cb82a95b265b03d4d">operator-></a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a79983137e697848cb82a95b265b03d4d">operator-></a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a pointer to the underlying value.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a23ab1c59bf4ec4bc19b6fa3fcf399171">operator-></a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a23ab1c59bf4ec4bc19b6fa3fcf399171">operator-></a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a pointer to the underlying value (const overload).</dd>
|
||||
<dt>
|
||||
@@ -603,8 +603,8 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae160ab8204a4ed57dac2ad6c5aebb683">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1value.html">value</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae160ab8204a4ed57dac2ad6c5aebb683">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1value.html">value</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the value out to a stream as formatted TOML.</dd>
|
||||
</dl>
|
||||
@@ -964,27 +964,27 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* toml::<wbr/>value<ValueType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a79983137e697848cb82a95b265b03d4d">operator-></a>(</span><span class="m-doc-wrap">) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* toml::<wbr/>value<ValueType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a79983137e697848cb82a95b265b03d4d">operator-></a>(</span><span class="m-doc-wrap">) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a pointer to the underlying value.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This operator is only available when <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is a class/struct.</p></aside>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This operator is only available when <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is a class/struct.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a23ab1c59bf4ec4bc19b6fa3fcf399171"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* toml::<wbr/>value<ValueType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a23ab1c59bf4ec4bc19b6fa3fcf399171">operator-></a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* toml::<wbr/>value<ValueType>::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a23ab1c59bf4ec4bc19b6fa3fcf399171">operator-></a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a pointer to the underlying value (const overload).</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This operator is only available when <a class="m-doc" href="classtoml_1_1value.html#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is a class/struct.</p></aside>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This operator is only available when <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is a class/struct.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ae160ab8204a4ed57dac2ad6c5aebb683"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae160ab8204a4ed57dac2ad6c5aebb683">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae160ab8204a4ed57dac2ad6c5aebb683">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="classtoml_1_1value.html">value</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints the value out to a stream as formatted TOML.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -104,12 +104,12 @@
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a0089cdd517d9f6641ed10c8ddb5b1c11">yaml_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">toml::<wbr/>node</a>& source,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1yaml__formatter.html#af161f0a6c794945e85b210ee85cb78e9">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#af161f0a6c794945e85b210ee85cb78e9">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs a YAML formatter and binds it to a TOML object.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="#a2eb50c4983f7ec26a417befeface23bf">yaml_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>& result,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1yaml__formatter.html#af161f0a6c794945e85b210ee85cb78e9">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#af161f0a6c794945e85b210ee85cb78e9">default_<wbr/>flags</a>) <span class="m-label m-flat m-info">explicit</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Constructs a YAML formatter and binds it to a <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>.</dd>
|
||||
</dl>
|
||||
@@ -118,13 +118,13 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a10b0c89256eb2ab4ea2b4e23f8ad8eff">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a10b0c89256eb2ab4ea2b4e23f8ad8eff">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1yaml__formatter.html">yaml_<wbr/>formatter</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a10b0c89256eb2ab4ea2b4e23f8ad8eff">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1yaml__formatter.html">yaml_<wbr/>formatter</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the bound TOML object out to the stream as YAML.</dd>
|
||||
<dt id="a50d463617bccb66a9cdf01390321bd47">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a50d463617bccb66a9cdf01390321bd47">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1yaml__formatter.html">yaml_<wbr/>formatter</a>&& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a50d463617bccb66a9cdf01390321bd47">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<a class="m-doc" href="classtoml_1_1yaml__formatter.html">yaml_<wbr/>formatter</a>&& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints the bound TOML object out to the stream as YAML (rvalue overload).</dd>
|
||||
</dl>
|
||||
@@ -134,7 +134,7 @@
|
||||
<section class="m-doc-details" id="a0089cdd517d9f6641ed10c8ddb5b1c11"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>yaml_formatter::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0089cdd517d9f6641ed10c8ddb5b1c11">yaml_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">toml::<wbr/>node</a>& source,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1yaml__formatter.html#af161f0a6c794945e85b210ee85cb78e9">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#af161f0a6c794945e85b210ee85cb78e9">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Constructs a YAML formatter and binds it to a TOML object.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -156,7 +156,7 @@
|
||||
<section class="m-doc-details" id="a2eb50c4983f7ec26a417befeface23bf"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"> toml::<wbr/>yaml_formatter::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2eb50c4983f7ec26a417befeface23bf">yaml_formatter</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>& result,
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="classtoml_1_1yaml__formatter.html#af161f0a6c794945e85b210ee85cb78e9">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc" href="namespacetoml.html#a2102aa80bc57783d96180f36e1f64f6a">format_<wbr/>flags</a> flags = <a class="m-doc" href="#af161f0a6c794945e85b210ee85cb78e9">default_<wbr/>flags</a>) <span class="m-label m-info">explicit</span> <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Constructs a YAML formatter and binds it to a <a class="m-doc" href="classtoml_1_1parse__result.html">toml::<wbr/>parse_result</a>.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -107,7 +107,7 @@
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">#define <a class="m-doc" href="#ga94867db67c98e0e9d4fbb70690951fbf">TOML_ENABLE_WINDOWS_COMPAT</a></span>
|
||||
</dt>
|
||||
<dd>Enables the use of wide strings (<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">wchar_t</a>, <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a>) in various places throughout the library when building for Windows.</dd>
|
||||
<dd>Enables the use of wide strings (<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">wchar_t</a>, <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a>) in various places throughout the library when building for Windows.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">#define <a class="m-doc" href="#ga93097ecd88ca4bca393f60a78bda643b">TOML_EXCEPTIONS</a></span>
|
||||
</dt>
|
||||
@@ -135,7 +135,7 @@
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">#define <a class="m-doc" href="#ga27ee69835a1ddff9dbaf3015b4b08a11">TOML_IMPLEMENTATION</a></span>
|
||||
</dt>
|
||||
<dd>Enables the library's implementation when <a class="m-doc" href="group__configuration.html#ga8219bfd7e75587516385b6022b28abc2">TOML_<wbr/>HEADER_<wbr/>ONLY</a> is disabled.</dd>
|
||||
<dd>Enables the library's implementation when <a class="m-doc" href="#ga8219bfd7e75587516385b6022b28abc2">TOML_<wbr/>HEADER_<wbr/>ONLY</a> is disabled.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">#define <a class="m-doc" href="#ga9c2c03f867eb6d76a5f65b06eeb1186e">TOML_OPTIONAL_TYPE</a></span>
|
||||
</dt>
|
||||
@@ -205,8 +205,8 @@
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">#define <a class="m-doc-self" href="#ga94867db67c98e0e9d4fbb70690951fbf">TOML_ENABLE_WINDOWS_COMPAT</a></span>
|
||||
</h3>
|
||||
<p>Enables the use of wide strings (<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">wchar_t</a>, <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a>) in various places throughout the library when building for Windows.</p>
|
||||
<p>Defaults to <code>1</code> when building for Windows, <code>0</code> otherwise. Has no effect when building for anything other than Windows.</p><aside class="m-note m-default"><h4>Remark</h4><p>This <strong>does not</strong> change the underlying string type used to represent TOML keys and string values; that will still be <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>. This setting simply enables some narrow <=> wide string conversions when necessary at various interface boundaries.<br/><br/>If you're building for Windows and you have no need for Windows' "Pretends-to-be-unicode" wide strings, you can safely set this to <code>0</code>.</p></aside>
|
||||
<p>Enables the use of wide strings (<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">wchar_t</a>, <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a>) in various places throughout the library when building for Windows.</p>
|
||||
<p>Defaults to <code>1</code> when building for Windows, <code>0</code> otherwise. Has no effect when building for anything other than Windows.</p><aside class="m-note m-default"><h4>Remark</h4><p>This <strong>does not</strong> change the underlying string type used to represent TOML keys and string values; that will still be <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>. This setting simply enables some narrow <=> wide string conversions when necessary at various interface boundaries.<br/><br/>If you're building for Windows and you have no need for Windows' "Pretends-to-be-unicode" wide strings, you can safely set this to <code>0</code>.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ga93097ecd88ca4bca393f60a78bda643b"><div>
|
||||
<h3>
|
||||
@@ -248,7 +248,7 @@
|
||||
<span class="m-doc-wrap-bumper">#define <a class="m-doc-self" href="#ga8219bfd7e75587516385b6022b28abc2">TOML_HEADER_ONLY</a></span>
|
||||
</h3>
|
||||
<p>Sets whether the library is entirely inline.</p>
|
||||
<p>Defaults to <code>1</code>.</p><aside class="m-note m-default"><h4>Remark</h4><p>Disabling this means that you must define <a class="m-doc" href="group__configuration.html#ga27ee69835a1ddff9dbaf3015b4b08a11">TOML_<wbr/>IMPLEMENTATION</a> in <strong><em>exactly one</em></strong> translation unit in your project:</p><pre class="m-code"><span class="c1">// global_header_that_includes_toml++.h</span>
|
||||
<p>Defaults to <code>1</code>.</p><aside class="m-note m-default"><h4>Remark</h4><p>Disabling this means that you must define <a class="m-doc" href="#ga27ee69835a1ddff9dbaf3015b4b08a11">TOML_<wbr/>IMPLEMENTATION</a> in <strong><em>exactly one</em></strong> translation unit in your project:</p><pre class="m-code"><span class="c1">// global_header_that_includes_toml++.h</span>
|
||||
<span class="cp">#define </span><span class="fm">TOML_HEADER_ONLY</span><span class="cp"> 0</span>
|
||||
<span class="cp">#include</span> <span class="cpf"><toml.hpp></span>
|
||||
|
||||
@@ -260,15 +260,15 @@
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">#define <a class="m-doc-self" href="#ga27ee69835a1ddff9dbaf3015b4b08a11">TOML_IMPLEMENTATION</a></span>
|
||||
</h3>
|
||||
<p>Enables the library's implementation when <a class="m-doc" href="group__configuration.html#ga8219bfd7e75587516385b6022b28abc2">TOML_<wbr/>HEADER_<wbr/>ONLY</a> is disabled.</p>
|
||||
<p>Not defined by default. Meaningless when <a class="m-doc" href="group__configuration.html#ga8219bfd7e75587516385b6022b28abc2">TOML_<wbr/>HEADER_<wbr/>ONLY</a> is enabled.</p>
|
||||
<p>Enables the library's implementation when <a class="m-doc" href="#ga8219bfd7e75587516385b6022b28abc2">TOML_<wbr/>HEADER_<wbr/>ONLY</a> is disabled.</p>
|
||||
<p>Not defined by default. Meaningless when <a class="m-doc" href="#ga8219bfd7e75587516385b6022b28abc2">TOML_<wbr/>HEADER_<wbr/>ONLY</a> is enabled.</p>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ga9c2c03f867eb6d76a5f65b06eeb1186e"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">#define <a class="m-doc-self" href="#ga9c2c03f867eb6d76a5f65b06eeb1186e">TOML_OPTIONAL_TYPE</a></span>
|
||||
</h3>
|
||||
<p>Overrides the <code>optional<T></code> type used by the library.</p>
|
||||
<p>Not defined by default (use <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a>).</p><aside class="m-note m-danger"><h4>Warning</h4><p>The library uses optionals internally in a few places; if you choose to replace the optional type it must be with something that is still API-compatible with <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a> (e.g. <a class="poxy-external" href="https://github.com/TartanLlama/optional" target="_blank">tl::<wbr/>optional</a>).</p></aside>
|
||||
<p>Not defined by default (use <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a>).</p><aside class="m-note m-danger"><h4>Warning</h4><p>The library uses optionals internally in a few places; if you choose to replace the optional type it must be with something that is still API-compatible with <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a> (e.g. <a class="poxy-external" href="https://github.com/TartanLlama/optional" target="_blank">tl::<wbr/>optional</a>).</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ga11a3368da40938a6b5cfd898320706f7"><div>
|
||||
<h3>
|
||||
|
||||
14
index.html
14
index.html
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -177,7 +177,7 @@
|
||||
<h2><a href="#enum-members">Enums</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">enum class <a class="m-doc" href="#a2102aa80bc57783d96180f36e1f64f6a">format_flags</a>: <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint64_t</a> { </span><span class="m-doc-wrap"><a class="m-doc" href="#a2102aa80bc57783d96180f36e1f64f6aa334c4a4c42fdb79d7ebc3e73b517e6f8">none</a>,
|
||||
<span class="m-doc-wrap-bumper">enum class <a class="m-doc" href="#a2102aa80bc57783d96180f36e1f64f6a">format_flags</a>: <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint64_t</a> { </span><span class="m-doc-wrap"><a class="m-doc" href="#a2102aa80bc57783d96180f36e1f64f6aa334c4a4c42fdb79d7ebc3e73b517e6f8">none</a>,
|
||||
<a class="m-doc" href="#a2102aa80bc57783d96180f36e1f64f6aa6e569050aafc6eca4c0c5dfab35fd25a">quote_dates_and_times</a> = (1ull << 0),
|
||||
<a class="m-doc" href="#a2102aa80bc57783d96180f36e1f64f6aaebc5b9f8f77d6df3c806339479f46098">quote_infinities_and_nans</a> = (1ull << 1),
|
||||
<a class="m-doc" href="#a2102aa80bc57783d96180f36e1f64f6aa328473763ff1ab919ce0b01d66ad3bf6">allow_literal_strings</a> = (1ull << 2),
|
||||
@@ -195,7 +195,7 @@
|
||||
</dt>
|
||||
<dd>Format flags for modifying how TOML data is printed to streams.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">enum class <a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48d">node_type</a>: <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> { </span><span class="m-doc-wrap"><a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48da334c4a4c42fdb79d7ebc3e73b517e6f8">none</a>,
|
||||
<span class="m-doc-wrap-bumper">enum class <a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48d">node_type</a>: <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> { </span><span class="m-doc-wrap"><a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48da334c4a4c42fdb79d7ebc3e73b517e6f8">none</a>,
|
||||
<a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48daaab9e1de16f38176f86d7a92ba337a8d">table</a>,
|
||||
<a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48daf1f713c9e000f5d3f280adbd124df4f5">array</a>,
|
||||
<a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48dab45cffe084dd3d20d928bee85e7b0f21">string</a>,
|
||||
@@ -208,12 +208,12 @@
|
||||
</dt>
|
||||
<dd>TOML node type identifiers.</dd>
|
||||
<dt id="a05daf3902d4363b06fb467a3292c0bc5">
|
||||
<span class="m-doc-wrap-bumper">enum class <a class="m-doc-self" href="#a05daf3902d4363b06fb467a3292c0bc5">path_component_type</a>: <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> { </span><span class="m-doc-wrap"><a class="m-doc-self" href="#a05daf3902d4363b06fb467a3292c0bc5">key</a> = 0x1,
|
||||
<span class="m-doc-wrap-bumper">enum class <a class="m-doc-self" href="#a05daf3902d4363b06fb467a3292c0bc5">path_component_type</a>: <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> { </span><span class="m-doc-wrap"><a class="m-doc-self" href="#a05daf3902d4363b06fb467a3292c0bc5">key</a> = 0x1,
|
||||
<a class="m-doc-self" href="#a05daf3902d4363b06fb467a3292c0bc5">array_index</a> = 0x2 }</span>
|
||||
</dt>
|
||||
<dd>Indicates type of <a class="m-doc poxy-injected" href="classtoml_1_1path__component.html">path component</a>, either a key, an index in an array, or invalid.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">enum class <a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5">value_flags</a>: <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a> { </span><span class="m-doc-wrap"><a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5a334c4a4c42fdb79d7ebc3e73b517e6f8">none</a>,
|
||||
<span class="m-doc-wrap-bumper">enum class <a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5">value_flags</a>: <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a> { </span><span class="m-doc-wrap"><a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5a334c4a4c42fdb79d7ebc3e73b517e6f8">none</a>,
|
||||
<a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5a3d21a9285de175ffffc99cfa13df21df">format_as_binary</a> = 1,
|
||||
<a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5adfc26763754dabbdf97d3c8833a2e8ba">format_as_octal</a> = 2,
|
||||
<a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5a4dd3fec464b7da02debfbc0bd4725c29">format_as_hexadecimal</a> = 3 }</span>
|
||||
@@ -227,15 +227,15 @@
|
||||
<dt id="ac7e383cde1b8d61dba45292b2b0fcb69">
|
||||
using <a class="m-doc-self" href="#ac7e383cde1b8d61dba45292b2b0fcb69">array_iterator</a> = <code class="m-note m-dim poxy-impl">/* ... */</code>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/RandomAccessIterator" target="_blank">RandomAccessIterator</a> for iterating over elements in a <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/RandomAccessIterator" target="_blank">RandomAccessIterator</a> for iterating over elements in a <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dt id="aeba9fe3a193c8b641a1fb3a2096d7c13">
|
||||
using <a class="m-doc-self" href="#aeba9fe3a193c8b641a1fb3a2096d7c13">const_array_iterator</a> = <code class="m-note m-dim poxy-impl">/* ... */</code>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/RandomAccessIterator" target="_blank">RandomAccessIterator</a> for iterating over const elements in a <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/RandomAccessIterator" target="_blank">RandomAccessIterator</a> for iterating over const elements in a <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dt id="a4bccd753f54404e0097457514177fcbb">
|
||||
using <a class="m-doc-self" href="#a4bccd753f54404e0097457514177fcbb">const_table_iterator</a> = <code class="m-note m-dim poxy-impl">/* ... */</code>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over const key-value pairs in a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over const key-value pairs in a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dt>
|
||||
using <a class="m-doc" href="#a2b87b5d257f54773683328031f453e76">default_formatter</a> = <a class="m-doc" href="classtoml_1_1toml__formatter.html">toml_<wbr/>formatter</a>
|
||||
</dt>
|
||||
@@ -247,21 +247,21 @@
|
||||
<dd>Metafunction for determining which node type would be constructed if an object of this type was inserted into a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a> or <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>></div>
|
||||
using <a class="m-doc" href="#af34a9fb3305e419784104609e6bbb7ac">optional</a> = <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a><T>
|
||||
using <a class="m-doc" href="#af34a9fb3305e419784104609e6bbb7ac">optional</a> = <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a><T>
|
||||
</dt>
|
||||
<dd>The 'optional' type used throughout the library.</dd>
|
||||
<dt id="afb852fa22a8b3ea9d200d645b9d5c308">
|
||||
using <a class="m-doc-self" href="#afb852fa22a8b3ea9d200d645b9d5c308">source_index</a> = <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint32_t</a>
|
||||
using <a class="m-doc-self" href="#afb852fa22a8b3ea9d200d645b9d5c308">source_index</a> = <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint32_t</a>
|
||||
</dt>
|
||||
<dd>The integer type used to tally line numbers and columns.</dd>
|
||||
<dt id="ac6cf446b480546ae1f71f5b86442368d">
|
||||
using <a class="m-doc-self" href="#ac6cf446b480546ae1f71f5b86442368d">source_path_ptr</a> = <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" target="_blank">std::<wbr/>shared_ptr</a><const <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>
|
||||
using <a class="m-doc-self" href="#ac6cf446b480546ae1f71f5b86442368d">source_path_ptr</a> = <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" target="_blank">std::<wbr/>shared_ptr</a><const <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>>
|
||||
</dt>
|
||||
<dd>A pointer to a shared string resource containing a source path.</dd>
|
||||
<dt id="a19243ec6febf1bb834ea9e366405e317">
|
||||
using <a class="m-doc-self" href="#a19243ec6febf1bb834ea9e366405e317">table_iterator</a> = <code class="m-note m-dim poxy-impl">/* ... */</code>
|
||||
</dt>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over key-value pairs in a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
<dd>A <a class="m-doc poxy-injected poxy-external poxy-cppreference poxy-named-requirement" href="https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator" target="_blank">BidirectionalIterator</a> for iterating over key-value pairs in a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a>.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section id="func-members">
|
||||
@@ -269,22 +269,22 @@
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a034ab5f50d46f89dcaf871a788d56be9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1node.html">node</a>& root,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the node matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#acecea9874ff621405e1c3f38433ba56d">at_path</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">node</a>& root,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the node matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a6355193bb51dc19b1f1509c6dac46b23">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1node.html">node</a>& root,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a view of the node matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aef2c5186913edbd8daf4a3d525fa5333">at_path</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">node</a>& root,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path) -> <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>></span>
|
||||
</dt>
|
||||
<dd>Returns a const view of the node matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
@@ -299,80 +299,80 @@
|
||||
<dd>Returns a const view of the node matching a fully-qualified "TOML path".</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="namespacetoml_1_1literals.html#a401530e560c2dc540729af01e10b2a74">operator""_toml</a>(</span><span class="m-doc-wrap">const char* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses TOML data from a string literal.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="namespacetoml_1_1literals.html#abb2307d66538d0d43dd074040f83224c">operator""_toml</a>(</span><span class="m-doc-wrap">const <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a>* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="namespacetoml_1_1literals.html#abb2307d66538d0d43dd074040f83224c">operator""_toml</a>(</span><span class="m-doc-wrap">const <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a>* str,
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses TOML data from a UTF-8 string literal.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="namespacetoml_1_1literals.html#ad406c84d960dd5bda91564f738f67d47">operator""_tpath</a>(</span><span class="m-doc-wrap">const char* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML path from a string literal.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename Char</span></span>></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aba6195d5e83ab18f30c9a211384e2c1a">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>basic_ostream</a><Char>& lhs,
|
||||
<a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>basic_ostream</a><Char>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aba6195d5e83ab18f30c9a211384e2c1a">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>basic_ostream</a><Char>& lhs,
|
||||
<a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>basic_ostream</a><Char>&</span>
|
||||
</dt>
|
||||
<dd>Pretty-prints the value of a node_type to a stream.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ada8654fb4ceef15c20fc1d5e0cc734dd">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {}) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ada8654fb4ceef15c20fc1d5e0cc734dd">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {}) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a string view.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a20fa3e08d72759083fb17c772a357043">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a20fa3e08d72759083fb17c772a357043">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a string view.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae9ee4300ddfbd72b7237283ab8d97618">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {}) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ae9ee4300ddfbd72b7237283ab8d97618">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {}) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</dd>
|
||||
<dd>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a02a2724564149ad8439c0457357308b8">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a02a2724564149ad8439c0457357308b8">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</dd>
|
||||
<dd>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a01565f26a7982d162949bac3b554a334">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a01565f26a7982d162949bac3b554a334">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a string view.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ac7767943620762c22b6341dc6682cc2d">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ac7767943620762c22b6341dc6682cc2d">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a stream.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a38852451309f406db281f17334ea8dfe">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a38852451309f406db281f17334ea8dfe">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</dd>
|
||||
<dd>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2ee84ffccded737ab40afcb8122d8277">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {}) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2ee84ffccded737ab40afcb8122d8277">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {}) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a stream.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8079e71bd86722701ca91828c6709305">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8079e71bd86722701ca91828c6709305">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a stream.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8dbc58dad43c3b66f4476a7131f5741a">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> file_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8dbc58dad43c3b66f4476a7131f5741a">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> file_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a file.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#acdbabd4b771d221fe98b0053d848d69d">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> file_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#acdbabd4b771d221fe98b0053d848d69d">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> file_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a file.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ad425af491341206589ca6acc37c3b19e">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> file_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ad425af491341206589ca6acc37c3b19e">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> file_path) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML document from a file.</dd>
|
||||
</dl>
|
||||
@@ -394,12 +394,12 @@
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
bool <a class="m-doc-self" href="#a7f8764060ca7dccb7e829f67d82c0485">is_chronological</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
</dt>
|
||||
<dd>Metafunction for determining if a type satisfies any of <a class="m-doc" href="namespacetoml.html#a3c5daa4563e3aff2b5e6460aa97d28df">toml::<wbr/>is_date</a>, <a class="m-doc" href="namespacetoml.html#a87aee32768a32bb838150421e4e3cf97">toml::<wbr/>is_time</a> or <a class="m-doc" href="namespacetoml.html#a3285caf012789a607851026f9827a33d">toml::<wbr/>is_date_time</a>.</dd>
|
||||
<dd>Metafunction for determining if a type satisfies any of <a class="m-doc" href="#a3c5daa4563e3aff2b5e6460aa97d28df">toml::<wbr/>is_date</a>, <a class="m-doc" href="#a87aee32768a32bb838150421e4e3cf97">toml::<wbr/>is_time</a> or <a class="m-doc" href="#a3285caf012789a607851026f9827a33d">toml::<wbr/>is_date_time</a>.</dd>
|
||||
<dt id="ad6c6e1677e1cc564d40efa89af2514a2">
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
bool <a class="m-doc-self" href="#ad6c6e1677e1cc564d40efa89af2514a2">is_container</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
</dt>
|
||||
<dd>Metafunction for determining if a type satisfies either <a class="m-doc" href="namespacetoml.html#ad11c8c8a8286d6931e40658679aa7ddb">toml::<wbr/>is_table</a> or <a class="m-doc" href="namespacetoml.html#a2251b703f3ec4d1a3036c82ead3d69cc">toml::<wbr/>is_array</a>.</dd>
|
||||
<dd>Metafunction for determining if a type satisfies either <a class="m-doc" href="#ad11c8c8a8286d6931e40658679aa7ddb">toml::<wbr/>is_table</a> or <a class="m-doc" href="#a2251b703f3ec4d1a3036c82ead3d69cc">toml::<wbr/>is_array</a>.</dd>
|
||||
<dt id="a3c5daa4563e3aff2b5e6460aa97d28df">
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
bool <a class="m-doc-self" href="#a3c5daa4563e3aff2b5e6460aa97d28df">is_date</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
@@ -419,7 +419,7 @@
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
bool <a class="m-doc-self" href="#a513bdc4a19071f0be70e92bb6cb1a1a3">is_integer</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
</dt>
|
||||
<dd>Metafunction for determining if a type is, or is a reference to, a <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a> or <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>.</dd>
|
||||
<dd>Metafunction for determining if a type is, or is a reference to, a <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a> or <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>.</dd>
|
||||
<dt id="a7b8ef907d9629d139a30d874b345b195">
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
bool <a class="m-doc-self" href="#a7b8ef907d9629d139a30d874b345b195">is_key</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
@@ -444,12 +444,12 @@
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
bool <a class="m-doc-self" href="#a64ce7ed6974d2b17823565bc67c40873">is_number</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
</dt>
|
||||
<dd>Metafunction for determining if a type satisfies either <a class="m-doc" href="namespacetoml.html#a513bdc4a19071f0be70e92bb6cb1a1a3">toml::<wbr/>is_integer</a> or <a class="m-doc" href="namespacetoml.html#a1aaaa0e264cdd4f43518571f2f61ac36">toml::<wbr/>is_floating_point</a>.</dd>
|
||||
<dd>Metafunction for determining if a type satisfies either <a class="m-doc" href="#a513bdc4a19071f0be70e92bb6cb1a1a3">toml::<wbr/>is_integer</a> or <a class="m-doc" href="#a1aaaa0e264cdd4f43518571f2f61ac36">toml::<wbr/>is_floating_point</a>.</dd>
|
||||
<dt id="aea14621807afe92a840d82c7139cde07">
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
bool <a class="m-doc-self" href="#aea14621807afe92a840d82c7139cde07">is_string</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
</dt>
|
||||
<dd>Metafunction for determining if a type is, or is a reference to, a <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a> or <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>>.</dd>
|
||||
<dd>Metafunction for determining if a type is, or is a reference to, a <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a> or <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>>.</dd>
|
||||
<dt id="ad11c8c8a8286d6931e40658679aa7ddb">
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
bool <a class="m-doc-self" href="#ad11c8c8a8286d6931e40658679aa7ddb">is_table</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
@@ -466,16 +466,16 @@
|
||||
</dt>
|
||||
<dd>Metafunction for determining if a type is, or is a reference to, any of the toml value types. Excludes tables and arrays.</dd>
|
||||
<dt id="a32f700b152e15c357801e905d626a4fb">
|
||||
<a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> <a class="m-doc-self" href="#a32f700b152e15c357801e905d626a4fb">preserve_source_value_flags</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
<a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> <a class="m-doc-self" href="#a32f700b152e15c357801e905d626a4fb">preserve_source_value_flags</a> <span class="m-label m-flat m-primary">constexpr</span>
|
||||
</dt>
|
||||
<dd>Special <a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">toml::<wbr/>value_flags</a> constant used for array + table insert functions to specify that any value nodes being copied should not have their flags property overridden by the inserting function's <code>flags</code> argument.</dd>
|
||||
<dd>Special <a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5">toml::<wbr/>value_flags</a> constant used for array + table insert functions to specify that any value nodes being copied should not have their flags property overridden by the inserting function's <code>flags</code> argument.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Enum documentation</h2>
|
||||
<section class="m-doc-details" id="a2102aa80bc57783d96180f36e1f64f6a"><div>
|
||||
<h3>
|
||||
enum class toml::<wbr/><a class="m-doc-self" href="#a2102aa80bc57783d96180f36e1f64f6a">format_flags</a>: <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint64_t</a>
|
||||
enum class toml::<wbr/><a class="m-doc-self" href="#a2102aa80bc57783d96180f36e1f64f6a">format_flags</a>: <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint64_t</a>
|
||||
</h3>
|
||||
<p>Format flags for modifying how TOML data is printed to streams.</p>
|
||||
<aside class="m-note m-info"><h4>Note</h4><p>Formatters may disregard/override any of these flags according to the requirements of their output target (e.g. <a class="m-doc" href="classtoml_1_1json__formatter.html">toml::<wbr/>json_formatter</a> will always apply quotes to dates and times).</p></aside>
|
||||
@@ -527,19 +527,19 @@
|
||||
<tr>
|
||||
<td><a class="m-doc-self" href="#a2102aa80bc57783d96180f36e1f64f6aae8dbe11e331b30941899ce81fd2fee41" id="a2102aa80bc57783d96180f36e1f64f6aae8dbe11e331b30941899ce81fd2fee41">allow_binary_integers</a></td>
|
||||
<td>
|
||||
<p>Allow integers with <a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5a3d21a9285de175ffffc99cfa13df21df">value_flags::<wbr/>format_as_binary</a> to be emitted as binary.</p>
|
||||
<p>Allow integers with <a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5a3d21a9285de175ffffc99cfa13df21df">value_flags::<wbr/>format_as_binary</a> to be emitted as binary.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="m-doc-self" href="#a2102aa80bc57783d96180f36e1f64f6aa3d184bcd6e8f69ebc29b148945f23d4e" id="a2102aa80bc57783d96180f36e1f64f6aa3d184bcd6e8f69ebc29b148945f23d4e">allow_octal_integers</a></td>
|
||||
<td>
|
||||
<p>Allow integers with <a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5adfc26763754dabbdf97d3c8833a2e8ba">value_flags::<wbr/>format_as_octal</a> to be emitted as octal.</p>
|
||||
<p>Allow integers with <a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5adfc26763754dabbdf97d3c8833a2e8ba">value_flags::<wbr/>format_as_octal</a> to be emitted as octal.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="m-doc-self" href="#a2102aa80bc57783d96180f36e1f64f6aa41e4d7c47742f8f5b60161cc594b169b" id="a2102aa80bc57783d96180f36e1f64f6aa41e4d7c47742f8f5b60161cc594b169b">allow_hexadecimal_integers</a></td>
|
||||
<td>
|
||||
<p>Allow integers with <a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5a4dd3fec464b7da02debfbc0bd4725c29">value_flags::<wbr/>format_as_hexadecimal</a> to be emitted as hexadecimal.</p>
|
||||
<p>Allow integers with <a class="m-doc" href="#a73eba6a34e7c7c4a4d311100800e1bb5a4dd3fec464b7da02debfbc0bd4725c29">value_flags::<wbr/>format_as_hexadecimal</a> to be emitted as hexadecimal.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -578,7 +578,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="abac3e84bbf1f2c90717fca107055f48d"><div>
|
||||
<h3>
|
||||
enum class toml::<wbr/><a class="m-doc-self" href="#abac3e84bbf1f2c90717fca107055f48d">node_type</a>: <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a>
|
||||
enum class toml::<wbr/><a class="m-doc-self" href="#abac3e84bbf1f2c90717fca107055f48d">node_type</a>: <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a>
|
||||
</h3>
|
||||
<p>TOML node type identifiers.</p>
|
||||
<table class="m-table m-fullwidth m-flat m-doc">
|
||||
@@ -605,13 +605,13 @@
|
||||
<tr>
|
||||
<td><a class="m-doc-self" href="#abac3e84bbf1f2c90717fca107055f48dab45cffe084dd3d20d928bee85e7b0f21" id="abac3e84bbf1f2c90717fca107055f48dab45cffe084dd3d20d928bee85e7b0f21">string</a></td>
|
||||
<td>
|
||||
<p>The node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>>.</p>
|
||||
<p>The node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="m-doc-self" href="#abac3e84bbf1f2c90717fca107055f48da157db7df530023575515d366c9b672e8" id="abac3e84bbf1f2c90717fca107055f48da157db7df530023575515d366c9b672e8">integer</a></td>
|
||||
<td>
|
||||
<p>The node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>.</p>
|
||||
<p>The node is a <a class="m-doc poxy-injected" href="classtoml_1_1value.html">toml::value</a><<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -649,7 +649,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a73eba6a34e7c7c4a4d311100800e1bb5"><div>
|
||||
<h3>
|
||||
enum class toml::<wbr/><a class="m-doc-self" href="#a73eba6a34e7c7c4a4d311100800e1bb5">value_flags</a>: <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a>
|
||||
enum class toml::<wbr/><a class="m-doc-self" href="#a73eba6a34e7c7c4a4d311100800e1bb5">value_flags</a>: <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a>
|
||||
</h3>
|
||||
<p>Metadata associated with TOML values.</p>
|
||||
<table class="m-table m-fullwidth m-flat m-doc">
|
||||
@@ -701,7 +701,7 @@
|
||||
</h3>
|
||||
<p>Metafunction for determining which node type would be constructed if an object of this type was inserted into a <a class="m-doc" href="classtoml_1_1table.html">toml::<wbr/>table</a> or <a class="m-doc" href="classtoml_1_1array.html">toml::<wbr/>array</a>.</p>
|
||||
<pre class="m-code"><span class="k">static_assert</span><span class="p">(</span><span class="nn">std</span><span class="o">::</span><span class="n">is_same_v</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">inserted_type_of</span><span class="o"><</span><span class="k">const</span> <span class="k">char</span><span class="o">*></span><span class="p">,</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nn">std</span><span class="o">::</span><span class="nc">string</span><span class="o">></span><span class="p">);</span>
|
||||
<span class="k">static_assert</span><span class="p">(</span><span class="nn">std</span><span class="o">::</span><span class="n">is_same_v</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">inserted_type_of</span><span class="o"><</span><span class="k">int</span><span class="o">></span><span class="p">,</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">);</span>
|
||||
<span class="k">static_assert</span><span class="p">(</span><span class="nn">std</span><span class="o">::</span><span class="n">is_same_v</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">inserted_type_of</span><span class="o"><</span><span class="k">int</span><span class="o">></span><span class="p">,</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a></span><span class="o">></span><span class="p">);</span>
|
||||
<span class="k">static_assert</span><span class="p">(</span><span class="nn">std</span><span class="o">::</span><span class="n">is_same_v</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">inserted_type_of</span><span class="o"><</span><span class="k">float</span><span class="o">></span><span class="p">,</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="k">double</span><span class="o">></span><span class="p">);</span>
|
||||
<span class="k">static_assert</span><span class="p">(</span><span class="nn">std</span><span class="o">::</span><span class="n">is_same_v</span><span class="o"><</span><span class="nn">toml</span><span class="o">::</span><span class="nc">inserted_type_of</span><span class="o"><</span><span class="k">bool</span><span class="o">></span><span class="p">,</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">value</span><span class="o"><</span><span class="k">bool</span><span class="o">></span><span class="p">);</span></pre><aside class="m-note m-info"><h4>Note</h4><p>This will return <a class="m-doc" href="classtoml_1_1node.html">toml::<wbr/>node</a> for nodes and <a class="m-doc poxy-injected" href="classtoml_1_1node__view.html">node_views</a>, even though a more specific node subclass would actually be inserted. There is no way around this in a compile-time metafunction.</p></aside>
|
||||
</div></section>
|
||||
@@ -710,10 +710,10 @@
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>>
|
||||
</div>
|
||||
using toml::<wbr/><a class="m-doc-self" href="#af34a9fb3305e419784104609e6bbb7ac">optional</a> = <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a><T>
|
||||
using toml::<wbr/><a class="m-doc-self" href="#af34a9fb3305e419784104609e6bbb7ac">optional</a> = <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a><T>
|
||||
</h3>
|
||||
<p>The 'optional' type used throughout the library.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>By default this will be an alias for <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a>, but you can change the optional type used by the library by defining <a class="m-doc" href="group__configuration.html#ga9c2c03f867eb6d76a5f65b06eeb1186e">TOML_<wbr/>OPTIONAL_<wbr/>TYPE</a>.</p></aside>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>By default this will be an alias for <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/utility/optional.html" target="_blank">std::<wbr/>optional</a>, but you can change the optional type used by the library by defining <a class="m-doc" href="group__configuration.html#ga9c2c03f867eb6d76a5f65b06eeb1186e">TOML_<wbr/>OPTIONAL_<wbr/>TYPE</a>.</p></aside>
|
||||
</div></section>
|
||||
</section>
|
||||
<section>
|
||||
@@ -721,7 +721,7 @@
|
||||
<section class="m-doc-details" id="a034ab5f50d46f89dcaf871a788d56be9"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a034ab5f50d46f89dcaf871a788d56be9">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1node.html">node</a>& root,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the node matching a fully-qualified "TOML path".</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -758,26 +758,26 @@
|
||||
<section class="m-doc-details" id="acecea9874ff621405e1c3f38433ba56d"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acecea9874ff621405e1c3f38433ba56d">at_path</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">node</a>& root,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const view of the node matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="namespacetoml.html#a034ab5f50d46f89dcaf871a788d56be9">toml::<wbr/>at_path(node&, std::<wbr/>string_view)</a></p></aside>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a034ab5f50d46f89dcaf871a788d56be9">toml::<wbr/>at_path(node&, std::<wbr/>string_view)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a6355193bb51dc19b1f1509c6dac46b23"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><<a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a6355193bb51dc19b1f1509c6dac46b23">at_path</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1node.html">node</a>& root,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path)</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path)</span></span>
|
||||
</h3>
|
||||
<p>Returns a view of the node matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="namespacetoml.html#a034ab5f50d46f89dcaf871a788d56be9">toml::<wbr/>at_path(node&, std::<wbr/>string_view)</a></p></aside>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a034ab5f50d46f89dcaf871a788d56be9">toml::<wbr/>at_path(node&, std::<wbr/>string_view)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aef2c5186913edbd8daf4a3d525fa5333"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a><const <a class="m-doc" href="classtoml_1_1node.html">node</a>> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aef2c5186913edbd8daf4a3d525fa5333">at_path</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1node.html">node</a>& root,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path)</span></span>
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> path)</span></span>
|
||||
</h3>
|
||||
<p>Returns a const view of the node matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="namespacetoml.html#a034ab5f50d46f89dcaf871a788d56be9">toml::<wbr/>at_path(node&, std::<wbr/>string_view)</a></p></aside>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This overload is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a034ab5f50d46f89dcaf871a788d56be9">toml::<wbr/>at_path(node&, std::<wbr/>string_view)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a5a5b291fdf3ecb9ad8bef4d6e689c402"><div>
|
||||
<h3>
|
||||
@@ -826,19 +826,19 @@
|
||||
const <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a>& path) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Returns a const view of the node matching a fully-qualified "TOML path".</p>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="namespacetoml.html#a5a5b291fdf3ecb9ad8bef4d6e689c402">toml::<wbr/>at_path(node&, const toml::<wbr/>path& path)</a></p></aside>
|
||||
<aside class="m-note m-default"><h4>See also</h4><p><a class="m-doc" href="#a5a5b291fdf3ecb9ad8bef4d6e689c402">toml::<wbr/>at_path(node&, const toml::<wbr/>path& path)</a></p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="aba6195d5e83ab18f30c9a211384e2c1a"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<<span class="m-doc-template-params"><span class="m-doc-template-param">typename Char</span></span>>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>basic_ostream</a><Char>& toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aba6195d5e83ab18f30c9a211384e2c1a">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>basic_ostream</a><Char>& lhs,
|
||||
<a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> rhs)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>basic_ostream</a><Char>& toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aba6195d5e83ab18f30c9a211384e2c1a">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>basic_ostream</a><Char>& lhs,
|
||||
<a class="m-doc" href="#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> rhs)</span></span>
|
||||
</h3>
|
||||
<p>Pretty-prints the value of a node_type to a stream.</p>
|
||||
<pre class="m-code"><span class="k">auto</span> <span class="n">arr</span> <span class="o">=</span> <span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="p">{</span> <span class="mi">1</span><span class="p">,</span> <span class="mf">2.0</span><span class="p">,</span> <span class="s">"3"</span><span class="p">,</span> <span class="k">false</span> <span class="p">};</span>
|
||||
<span class="k">for</span> <span class="p">(</span><span class="nc"><a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a></span> <span class="n">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">i</span> <span class="o"><</span> <span class="n">arr</span><span class="p">.</span><span class="nf">size</span><span class="p">()</span> <span class="n">i</span><span class="o">++</span><span class="p">)</span>
|
||||
<span class="k">for</span> <span class="p">(</span><span class="nc"><a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a></span> <span class="n">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">i</span> <span class="o"><</span> <span class="n">arr</span><span class="p">.</span><span class="nf">size</span><span class="p">()</span> <span class="n">i</span><span class="o">++</span><span class="p">)</span>
|
||||
<span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o"><<</span> <span class="s">"Element ["sv</span> <span class="o"><<</span> <span class="n">i</span> <span class="o"><<</span> <span class="s">"] is: "sv</span> <span class="o"><<</span> <span class="n">arr</span><span class="p">[</span><span class="n">i</span><span class="p">].</span><span class="nf">type</span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span></pre><pre class="m-console"><span class="go">Element [0] is: integer</span>
|
||||
<span class="go">Element [1] is: floating-point</span>
|
||||
<span class="go">Element [2] is: string</span>
|
||||
@@ -846,8 +846,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ada8654fb4ceef15c20fc1d5e0cc734dd"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ada8654fb4ceef15c20fc1d5e0cc734dd">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {})</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ada8654fb4ceef15c20fc1d5e0cc734dd">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {})</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a string view.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -876,8 +876,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a20fa3e08d72759083fb17c772a357043"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a20fa3e08d72759083fb17c772a357043">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a20fa3e08d72759083fb17c772a357043">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a string view.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -906,10 +906,10 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ae9ee4300ddfbd72b7237283ab8d97618"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae9ee4300ddfbd72b7237283ab8d97618">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {})</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ae9ee4300ddfbd72b7237283ab8d97618">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {})</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</p>
|
||||
<p>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<thead>
|
||||
<tr><th colspan="2">Parameters</th></tr>
|
||||
@@ -936,10 +936,10 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a02a2724564149ad8439c0457357308b8"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a02a2724564149ad8439c0457357308b8">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a02a2724564149ad8439c0457357308b8">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</p>
|
||||
<p>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<thead>
|
||||
<tr><th colspan="2">Parameters</th></tr>
|
||||
@@ -966,8 +966,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a01565f26a7982d162949bac3b554a334"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a01565f26a7982d162949bac3b554a334">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a01565f26a7982d162949bac3b554a334">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a string view.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -996,8 +996,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ac7767943620762c22b6341dc6682cc2d"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ac7767943620762c22b6341dc6682cc2d">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ac7767943620762c22b6341dc6682cc2d">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a stream.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1029,10 +1029,10 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a38852451309f406db281f17334ea8dfe"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a38852451309f406db281f17334ea8dfe">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a38852451309f406db281f17334ea8dfe">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> source_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</p>
|
||||
<p>Parses a TOML document from a <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a> string view.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<thead>
|
||||
<tr><th colspan="2">Parameters</th></tr>
|
||||
@@ -1059,8 +1059,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a2ee84ffccded737ab40afcb8122d8277"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2ee84ffccded737ab40afcb8122d8277">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {})</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2ee84ffccded737ab40afcb8122d8277">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> source_path = {})</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a stream.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1092,8 +1092,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a8079e71bd86722701ca91828c6709305"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8079e71bd86722701ca91828c6709305">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8079e71bd86722701ca91828c6709305">parse</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" target="_blank">std::<wbr/>istream</a>& doc,
|
||||
<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>string</a>&& source_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a stream.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1125,7 +1125,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a8dbc58dad43c3b66f4476a7131f5741a"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8dbc58dad43c3b66f4476a7131f5741a">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> file_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8dbc58dad43c3b66f4476a7131f5741a">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>string_view</a> file_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a file.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1152,7 +1152,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="acdbabd4b771d221fe98b0053d848d69d"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acdbabd4b771d221fe98b0053d848d69d">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> file_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acdbabd4b771d221fe98b0053d848d69d">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>u8string_view</a> file_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a file.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -1179,7 +1179,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ad425af491341206589ca6acc37c3b19e"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ad425af491341206589ca6acc37c3b19e">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> file_path)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ad425af491341206589ca6acc37c3b19e">parse_file</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string_view.html" target="_blank">std::<wbr/>wstring_view</a> file_path)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML document from a file.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -89,17 +89,17 @@
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a401530e560c2dc540729af01e10b2a74">operator""_toml</a>(</span><span class="m-doc-wrap">const char* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses TOML data from a string literal.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#abb2307d66538d0d43dd074040f83224c">operator""_toml</a>(</span><span class="m-doc-wrap">const <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a>* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#abb2307d66538d0d43dd074040f83224c">operator""_toml</a>(</span><span class="m-doc-wrap">const <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a>* str,
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a></span>
|
||||
</dt>
|
||||
<dd>Parses TOML data from a UTF-8 string literal.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ad406c84d960dd5bda91564f738f67d47">operator""_tpath</a>(</span><span class="m-doc-wrap">const char* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len) -> <a class="m-doc" href="classtoml_1_1path.html">path</a></span>
|
||||
</dt>
|
||||
<dd>Parses a TOML path from a string literal.</dd>
|
||||
</dl>
|
||||
@@ -109,7 +109,7 @@
|
||||
<section class="m-doc-details" id="a401530e560c2dc540729af01e10b2a74"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/>literals::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a401530e560c2dc540729af01e10b2a74">operator""_toml</a>(</span><span class="m-doc-wrap">const char* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len)</span></span>
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len)</span></span>
|
||||
</h3>
|
||||
<p>Parses TOML data from a string literal.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -140,8 +140,8 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="abb2307d66538d0d43dd074040f83224c"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/>literals::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#abb2307d66538d0d43dd074040f83224c">operator""_toml</a>(</span><span class="m-doc-wrap">const <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a>* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len)</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1parse__result.html">parse_<wbr/>result</a> toml::<wbr/>literals::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#abb2307d66538d0d43dd074040f83224c">operator""_toml</a>(</span><span class="m-doc-wrap">const <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/language/types#Character_types" target="_blank">char8_t</a>* str,
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len)</span></span>
|
||||
</h3>
|
||||
<p>Parses TOML data from a UTF-8 string literal.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
@@ -173,7 +173,7 @@
|
||||
<section class="m-doc-details" id="ad406c84d960dd5bda91564f738f67d47"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1path.html">path</a> toml::<wbr/>literals::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ad406c84d960dd5bda91564f738f67d47">operator""_tpath</a>(</span><span class="m-doc-wrap">const char* str,
|
||||
<a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len)</span></span>
|
||||
<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> len)</span></span>
|
||||
</h3>
|
||||
<p>Parses a TOML path from a string literal.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
|
||||
@@ -2716,12 +2716,15 @@ h1 .m-doc-include *,
|
||||
h3 .m-doc-include * { opacity: 1 !important; }
|
||||
h1 .m-doc-include .cp,
|
||||
h3 .m-doc-include .cp { color: var(--dim-color); }
|
||||
.godbolt { font-family: "Source Sans Pro", sans-serif; }
|
||||
p.godbolt { text-align: center; padding: 0rem; text-indent: 0rem; }
|
||||
a.godbolt { padding: 0.5rem; display: inline-block; }
|
||||
pre > p.godbolt { float: right; }
|
||||
pre .poxy-godbolt,
|
||||
code .poxy-godbolt { font-family: "Source Sans Pro", sans-serif; }
|
||||
pre p.poxy-godbolt,
|
||||
code p.poxy-godbolt { text-align: center; padding: 0rem; text-indent: 0rem; float: right; }
|
||||
pre p.poxy-godbolt a.poxy-godbolt,
|
||||
code p.poxy-godbolt a.poxy-godbolt { padding: 0.5rem; display: inline-block; }
|
||||
@media screen and (max-width: 768px) {
|
||||
.godbolt { display: none; }
|
||||
pre p.poxy-godbolt,
|
||||
code p.poxy-godbolt { display: none; }
|
||||
}
|
||||
h2:last-child,
|
||||
h3:last-child,
|
||||
@@ -2729,7 +2732,7 @@ h4:last-child,
|
||||
h5:last-child,
|
||||
h6:last-child { margin-bottom: 0rem; }
|
||||
.m-doc-details table img.m-image { margin-left: inherit; }
|
||||
@media screen and (min-width: 1300px) and (min-height: 775px) {
|
||||
@media screen and (min-width: 1300px) {
|
||||
:root { --wide-page-left-offset: -160px; }
|
||||
#poxy-toc {
|
||||
position: fixed;
|
||||
@@ -2739,6 +2742,8 @@ min-width: 200px;
|
||||
z-index: 5;
|
||||
margin: 0px 20px 0px 0px !important;
|
||||
background-color: var(--background-color);
|
||||
overflow-y: auto;
|
||||
max-height: calc(100% - 7rem);
|
||||
}
|
||||
header nav > .m-container,
|
||||
footer nav > .m-container { width: 100%; }
|
||||
@@ -2813,11 +2818,12 @@ margin-top: initial;
|
||||
.m-doc-template-params.m-doc-template-long .m-doc-template-param::before { content: ""; display: block; }
|
||||
section.m-doc-details div .m-table.m-fullwidth.m-flat tbody td:first-of-type wbr { display: none; }
|
||||
.poxy-about-the-author { margin-top: 4rem; }
|
||||
.poxy-about-the-author .socials { display: block; padding-top: 0.5rem; }
|
||||
.poxy-about-the-author .poxy-socials { display: block; padding-top: 0.5rem; }
|
||||
.poxy-about-the-author img.poxy-icon,
|
||||
.poxy-about-the-author svg.poxy-icon { max-width: 1.5rem; max-height: 1.5rem; margin-right: 0.5rem; }
|
||||
header nav #m-navbar-collapse li a.sponsor:hover { border-color: var(--sponsor-color) !important; }
|
||||
header nav a.sponsor:hover,
|
||||
footer nav a.sponsor:hover,
|
||||
a.poxy-icon.sponsor:hover { color: var(--sponsor-color) !important; }
|
||||
main article a.poxy-named-requirement { font-style: italic; }
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -94,13 +94,13 @@
|
||||
<section id="pub-attribs">
|
||||
<h2><a href="#pub-attribs">Public variables</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="ad1dc522b115c69dc908540b1c6ff792b"> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a> <a class="m-doc-self" href="#ad1dc522b115c69dc908540b1c6ff792b">year</a>
|
||||
<dt id="ad1dc522b115c69dc908540b1c6ff792b"> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a> <a class="m-doc-self" href="#ad1dc522b115c69dc908540b1c6ff792b">year</a>
|
||||
</dt>
|
||||
<dd>The year component.</dd>
|
||||
<dt id="a0528c722d0a81741a95f6e3a1116614e"> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a0528c722d0a81741a95f6e3a1116614e">month</a>
|
||||
<dt id="a0528c722d0a81741a95f6e3a1116614e"> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a0528c722d0a81741a95f6e3a1116614e">month</a>
|
||||
</dt>
|
||||
<dd>The month component, from 1 - 12.</dd>
|
||||
<dt id="a8ec7a7238b8edd3341b450a7b43ec011"> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a8ec7a7238b8edd3341b450a7b43ec011">day</a>
|
||||
<dt id="a8ec7a7238b8edd3341b450a7b43ec011"> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a8ec7a7238b8edd3341b450a7b43ec011">day</a>
|
||||
</dt>
|
||||
<dd>The day component, from 1 - 31.</dd>
|
||||
</dl>
|
||||
@@ -119,8 +119,8 @@
|
||||
</dt>
|
||||
<dd>Less-than operator.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aa24fddba6149a26f1dbeefe036126316">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1date.html">date</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aa24fddba6149a26f1dbeefe036126316">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1date.html">date</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints a date out to a stream as <code>YYYY-MM-DD</code> (per RFC 3339).</dd>
|
||||
<dt id="a0add90c8bea1fdc5ff50cbbeb5e169fc">
|
||||
@@ -149,7 +149,7 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="aa24fddba6149a26f1dbeefe036126316"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aa24fddba6149a26f1dbeefe036126316">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aa24fddba6149a26f1dbeefe036126316">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1date.html">date</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints a date out to a stream as <code>YYYY-MM-DD</code> (per RFC 3339).</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -144,8 +144,8 @@
|
||||
</dt>
|
||||
<dd>Less-than operator.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5a090cb9dfa0d6a3e74603ba702bbddc">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1date__time.html">date_<wbr/>time</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5a090cb9dfa0d6a3e74603ba702bbddc">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1date__time.html">date_<wbr/>time</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints a <a class="m-doc" href="structtoml_1_1date__time.html">date_<wbr/>time</a> out to a stream in RFC 3339 format.</dd>
|
||||
<dt id="a7b2f0261ae38ef6dbb6de0fb35fbbf3b">
|
||||
@@ -257,7 +257,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a5a090cb9dfa0d6a3e74603ba702bbddc"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5a090cb9dfa0d6a3e74603ba702bbddc">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5a090cb9dfa0d6a3e74603ba702bbddc">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1date__time.html">date_<wbr/>time</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints a <a class="m-doc" href="structtoml_1_1date__time.html">date_<wbr/>time</a> out to a stream in RFC 3339 format.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -115,8 +115,8 @@
|
||||
</dt>
|
||||
<dd>Less-than operator.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a40b4b23ccd23a205a2c2298853066aba">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1source__position.html">source_<wbr/>position</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a40b4b23ccd23a205a2c2298853066aba">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1source__position.html">source_<wbr/>position</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints a <a class="m-doc" href="structtoml_1_1source__position.html">source_<wbr/>position</a> to a stream.</dd>
|
||||
<dt id="abb7d47c85374301ec48e7c5f3ee1c71a">
|
||||
@@ -145,7 +145,7 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a40b4b23ccd23a205a2c2298853066aba"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a40b4b23ccd23a205a2c2298853066aba">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a40b4b23ccd23a205a2c2298853066aba">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1source__position.html">source_<wbr/>position</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints a <a class="m-doc" href="structtoml_1_1source__position.html">source_<wbr/>position</a> to a stream.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -88,7 +88,7 @@
|
||||
<h2><a href="#pub-methods">Public functions</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8e9110cd42e834f95e9a12c59909c1c0">wide_path</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="namespacetoml.html#af34a9fb3305e419784104609e6bbb7ac">optional</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a>></span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8e9110cd42e834f95e9a12c59909c1c0">wide_path</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="namespacetoml.html#af34a9fb3305e419784104609e6bbb7ac">optional</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a>></span>
|
||||
</dt>
|
||||
<dd>The path to the corresponding source document as a wide-string.</dd>
|
||||
</dl>
|
||||
@@ -114,8 +114,8 @@
|
||||
<h2><a href="#friends">Friends</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a9de8ac24a607abd098bb4179520f3734">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a9de8ac24a607abd098bb4179520f3734">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints a <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a> to a stream.</dd>
|
||||
</dl>
|
||||
@@ -124,14 +124,14 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a8e9110cd42e834f95e9a12c59909c1c0"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="namespacetoml.html#af34a9fb3305e419784104609e6bbb7ac">optional</a><<a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a>> toml::<wbr/>source_region::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8e9110cd42e834f95e9a12c59909c1c0">wide_path</a>(</span><span class="m-doc-wrap">) const</span></span>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="namespacetoml.html#af34a9fb3305e419784104609e6bbb7ac">optional</a><<a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/string/basic_string.html" target="_blank">std::<wbr/>wstring</a>> toml::<wbr/>source_region::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8e9110cd42e834f95e9a12c59909c1c0">wide_path</a>(</span><span class="m-doc-wrap">) const</span></span>
|
||||
</h3>
|
||||
<p>The path to the corresponding source document as a wide-string.</p>
|
||||
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This function is only available when <a class="m-doc" href="group__configuration.html#ga94867db67c98e0e9d4fbb70690951fbf">TOML_<wbr/>ENABLE_<wbr/>WINDOWS_<wbr/>COMPAT</a> is enabled.</p></aside><aside class="m-note m-default"><h4>Remark</h4><p>This will return an empty optional if no path was provided to <a class="m-doc" href="namespacetoml.html#ada8654fb4ceef15c20fc1d5e0cc734dd">toml::<wbr/>parse()</a>.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a9de8ac24a607abd098bb4179520f3734"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9de8ac24a607abd098bb4179520f3734">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a9de8ac24a607abd098bb4179520f3734">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints a <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a> to a stream.</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -83,7 +83,7 @@
|
||||
</dt>
|
||||
<dd>Default constructor. Does not initialize the members.</dd>
|
||||
<dt id="acaec3dc6784706c57cc712ab403123e6">
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params m-doc-template-long"><span class="m-doc-template-param">typename H</span>, <span class="m-doc-template-param">typename M</span>, <span class="m-doc-template-param">typename S = <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a></span>, <span class="m-doc-template-param">typename NS = <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint32_t</a></span></span>></div>
|
||||
<div class="m-doc-template">template<<span class="m-doc-template-params m-doc-template-long"><span class="m-doc-template-param">typename H</span>, <span class="m-doc-template-param">typename M</span>, <span class="m-doc-template-param">typename S = <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a></span>, <span class="m-doc-template-param">typename NS = <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint32_t</a></span></span>></div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acaec3dc6784706c57cc712ab403123e6">time</a>(</span><span class="m-doc-wrap">H h,
|
||||
M m,
|
||||
S s = S{},
|
||||
@@ -95,16 +95,16 @@
|
||||
<section id="pub-attribs">
|
||||
<h2><a href="#pub-attribs">Public variables</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a18f32a58846d333f9e866b725b7b7ae4"> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a18f32a58846d333f9e866b725b7b7ae4">hour</a>
|
||||
<dt id="a18f32a58846d333f9e866b725b7b7ae4"> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a18f32a58846d333f9e866b725b7b7ae4">hour</a>
|
||||
</dt>
|
||||
<dd>The hour component, from 0 - 23.</dd>
|
||||
<dt id="a02de4fe041dfa9535eb4df60d86f7fb4"> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a02de4fe041dfa9535eb4df60d86f7fb4">minute</a>
|
||||
<dt id="a02de4fe041dfa9535eb4df60d86f7fb4"> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a02de4fe041dfa9535eb4df60d86f7fb4">minute</a>
|
||||
</dt>
|
||||
<dd>The minute component, from 0 - 59.</dd>
|
||||
<dt id="a8ae0ab849a761543207ca86a2e1d0fdf"> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a8ae0ab849a761543207ca86a2e1d0fdf">second</a>
|
||||
<dt id="a8ae0ab849a761543207ca86a2e1d0fdf"> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a8ae0ab849a761543207ca86a2e1d0fdf">second</a>
|
||||
</dt>
|
||||
<dd>The second component, from 0 - 59.</dd>
|
||||
<dt id="a3e9c60650ccd21f1e47132b777547185"> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint32_t</a> <a class="m-doc-self" href="#a3e9c60650ccd21f1e47132b777547185">nanosecond</a>
|
||||
<dt id="a3e9c60650ccd21f1e47132b777547185"> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint32_t</a> <a class="m-doc-self" href="#a3e9c60650ccd21f1e47132b777547185">nanosecond</a>
|
||||
</dt>
|
||||
<dd>The fractional nanoseconds component, from 0 - 999999999.</dd>
|
||||
</dl>
|
||||
@@ -123,8 +123,8 @@
|
||||
</dt>
|
||||
<dd>Less-than operator.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aad81b91942de3b3f2d54656c8a686ee7">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1time.html">time</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#aad81b91942de3b3f2d54656c8a686ee7">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1time.html">time</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints a time out to a stream as <code>HH:MM:SS.FFFFFF</code> (per RFC 3339).</dd>
|
||||
<dt id="a459d4906732bd6c6129de62f1c601a60">
|
||||
@@ -153,7 +153,7 @@
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="aad81b91942de3b3f2d54656c8a686ee7"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aad81b91942de3b3f2d54656c8a686ee7">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aad81b91942de3b3f2d54656c8a686ee7">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1time.html">time</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints a time out to a stream as <code>HH:MM:SS.FFFFFF</code> (per RFC 3339).</p>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta content="TOML for C++" property="og:description"/>
|
||||
<meta content="TOML for C++" itemprop="description"/>
|
||||
<meta content="telephone=no" name="format-detection"/>
|
||||
<meta content="Poxy v0.13.1" name="generator"/>
|
||||
<meta content="Poxy v0.13.3" name="generator"/>
|
||||
<meta content="strict-origin-when-cross-origin" name="referrer"/>
|
||||
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
||||
</head>
|
||||
@@ -93,7 +93,7 @@
|
||||
<section id="pub-attribs">
|
||||
<h2><a href="#pub-attribs">Public variables</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a2f4cd0259300e318defc0c5efde592dd"> <a class="m-doc poxy-injected poxy-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int16_t</a> <a class="m-doc-self" href="#a2f4cd0259300e318defc0c5efde592dd">minutes</a>
|
||||
<dt id="a2f4cd0259300e318defc0c5efde592dd"> <a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int16_t</a> <a class="m-doc-self" href="#a2f4cd0259300e318defc0c5efde592dd">minutes</a>
|
||||
</dt>
|
||||
<dd>Offset from UTC+0, in minutes.</dd>
|
||||
</dl>
|
||||
@@ -112,8 +112,8 @@
|
||||
</dt>
|
||||
<dd>Less-than operator.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ac87df01b4e60bd303d75712470517451">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1time__offset.html">time_<wbr/>offset</a>& rhs) -> <a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ac87df01b4e60bd303d75712470517451">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1time__offset.html">time_<wbr/>offset</a>& rhs) -> <a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>&</span>
|
||||
</dt>
|
||||
<dd>Prints a <a class="m-doc" href="structtoml_1_1time__offset.html">time_<wbr/>offset</a> out to a stream as <code>+-HH:MM or Z</code> (per RFC 3339).</dd>
|
||||
<dt id="a4a0886d9ad65963a4e812576ba0c6928">
|
||||
@@ -187,7 +187,7 @@
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ac87df01b4e60bd303d75712470517451"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ac87df01b4e60bd303d75712470517451">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ac87df01b4e60bd303d75712470517451">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc-external poxy-cppreference poxy-external" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" target="_blank">std::<wbr/>ostream</a>& lhs,
|
||||
const <a class="m-doc" href="structtoml_1_1time__offset.html">time_<wbr/>offset</a>& rhs)</span></span>
|
||||
</h3>
|
||||
<p>Prints a <a class="m-doc" href="structtoml_1_1time__offset.html">time_<wbr/>offset</a> out to a stream as <code>+-HH:MM or Z</code> (per RFC 3339).</p>
|
||||
|
||||
Reference in New Issue
Block a user