summaryrefslogtreecommitdiff
path: root/classtoml_1_1value.html
blob: 7a25c705594b8ab39de12a46ea29d39e61037817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
<!DOCTYPE html>
<html lang="en"><head>
  <meta charset="utf-8"/>
  <title>toml::value class | toml++ TOML for C++</title>
  <link href="favicon.ico" rel="icon" type="image/vnd.microsoft.icon"/>
  <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
  <meta content="#22272e" name="theme-color"/>
  <link href="poxy/poxy.css" referrerpolicy="no-referrer" rel="stylesheet"/>
  <script src="poxy/poxy.js"></script>
  <script>initialize_theme("dark");</script>
  <meta content="toml++" name="twitter:title"/>
  <meta content="toml++" property="og:title"/>
  <meta content="toml++" itemprop="name"/>
  <meta content="Mark Gillard" name="author"/>
  <meta content="Mark Gillard" property="article:author"/>
  <meta content="TOML for C++" name="description"/>
  <meta content="TOML for C++" name="twitter:description"/>
  <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.20.1" name="generator"/>
  <meta content="strict-origin-when-cross-origin" name="referrer"/>
  <meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
</head>
<body class="poxy-has-toc">
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <a class="m-col-t-8 m-col-m-none m-left-m" href="index.html" id="m-navbar-brand"><svg class="poxy-injected-svg" id="poxy-injected-svg-0" version="1.1" viewBox="0 0 306 306" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon fill="currentColor" points="0 0 0 306 67.79 306 67.79 273.09 35.1 273.09 35.1 33.62 67.79 33.62 67.79 0 0 0"></polygon><polygon fill="currentColor" points="237.62 0 237.62 33.62 270.3 33.62 270.3 273.09 237.62 273.09 237.62 306 306 306 306 0 237.62 0"></polygon><polygon fill="currentColor" points="127.3 247.43 127.3 109.37 172.72 109.37 172.72 77.69 48.41 77.69 48.41 109.37 94.43 109.37 94.43 247.43 127.3 247.43"></polygon><polygon fill="currentColor" points="256.69 163.46 241.45 163.46 241.45 148.22 222.33 148.22 222.33 163.46 207.09 163.46 207.09 182.58 222.33 182.58 222.33 197.82 241.45 197.82 241.45 182.58 256.69 182.58 256.69 163.46"></polygon><polygon fill="currentColor" points="192.74 163.46 177.5 163.46 177.5 148.22 158.38 148.22 158.38 163.46 143.14 163.46 143.14 182.58 158.38 182.58 158.38 197.82 177.5 197.82 177.5 182.58 192.74 182.58 192.74 163.46"></polygon></svg>toml++ <span class="m-thin">TOML for C++</span></a>
      <div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
        <a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
          <path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
        </svg></a>
        <a href="#navigation" id="m-navbar-show" title="Show navigation"></a>
        <a href="#" id="m-navbar-hide" title="Hide navigation"></a>
      </div>
      <div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
        <div class="m-row">
          <ol class="m-col-t-6 m-col-m-none">
            <li><a href="namespaces.html">Namespaces</a></li>
            <li><a href="annotated.html">Classes</a></li>
            <li class="poxy-navbar-version-selector"><a href="classtoml_1_1value.html">Version: HEAD</a><ol><li><a href="classtoml_1_1value.html">HEAD</a></li></ol></li>
            <li><a class="poxy-icon twitter poxy-external" href="https://twitter.com/marzer8789" target="_blank" title="Twitter"><svg id="poxy-icon-twitter" version="1.1" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M 50.0625 10.4375 C 48.214844 11.257813 46.234375 11.808594 44.152344 12.058594 C 46.277344 10.785156 47.910156 8.769531 48.675781 6.371094 C 46.691406 7.546875 44.484375 8.402344 42.144531 8.863281 C 40.269531 6.863281 37.597656 5.617188 34.640625 5.617188 C 28.960938 5.617188 24.355469 10.21875 24.355469 15.898438 C 24.355469 16.703125 24.449219 17.488281 24.625 18.242188 C 16.078125 17.8125 8.503906 13.71875 3.429688 7.496094 C 2.542969 9.019531 2.039063 10.785156 2.039063 12.667969 C 2.039063 16.234375 3.851563 19.382813 6.613281 21.230469 C 4.925781 21.175781 3.339844 20.710938 1.953125 19.941406 C 1.953125 19.984375 1.953125 20.027344 1.953125 20.070313 C 1.953125 25.054688 5.5 29.207031 10.199219 30.15625 C 9.339844 30.390625 8.429688 30.515625 7.492188 30.515625 C 6.828125 30.515625 6.183594 30.453125 5.554688 30.328125 C 6.867188 34.410156 10.664063 37.390625 15.160156 37.472656 C 11.644531 40.230469 7.210938 41.871094 2.390625 41.871094 C 1.558594 41.871094 0.742188 41.824219 -0.0585938 41.726563 C 4.488281 44.648438 9.894531 46.347656 15.703125 46.347656 C 34.617188 46.347656 44.960938 30.679688 44.960938 17.09375 C 44.960938 16.648438 44.949219 16.199219 44.933594 15.761719 C 46.941406 14.3125 48.683594 12.5 50.0625 10.4375 Z" fill="currentColor"></path></svg></a></li>
          </ol>
          <ol class="m-col-t-6 m-col-m-none" start="5">
            <li><a class="poxy-icon repo github poxy-external" href="https://github.com/marzer/tomlplusplus" target="_blank" title="View on GitHub"><svg id="poxy-icon-repo" version="1.1" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M25,1.23a24.37,24.37,0,0,0-7.7,47.5C18.51,49,19,48.2,19,47.56s0-2.12,0-4.15c-6.78,1.47-8.21-3.27-8.21-3.27C9.61,37.33,8,36.58,8,36.58c-2.21-1.51.17-1.48.17-1.48a5.12,5.12,0,0,1,3.73,2.51c2.17,3.72,5.7,2.65,7.09,2a5.25,5.25,0,0,1,1.55-3.26c-5.41-.61-11.1-2.7-11.1-12A9.41,9.41,0,0,1,12,17.79a8.75,8.75,0,0,1,.24-6.45s2-.66,6.7,2.49a23.1,23.1,0,0,1,12.2,0c4.66-3.15,6.7-2.49,6.7-2.49A8.75,8.75,0,0,1,38,17.79a9.41,9.41,0,0,1,2.51,6.54c0,9.36-5.7,11.42-11.13,12a5.83,5.83,0,0,1,1.65,4.51c0,3.26,0,5.89,0,6.69,0,.65.44,1.41,1.68,1.17A24.38,24.38,0,0,0,25,1.23Z" fill="currentColor"></path></svg></a></li>
            <li><a class="poxy-icon sponsor poxy-external" href="https://github.com/sponsors/marzer" target="_blank" title="Become a sponsor"><svg id="poxy-icon-sponsor" version="1.1" viewBox="0 0 66.911 66.911" xmlns="http://www.w3.org/2000/svg"><path d="M66.911,22.831c0-10.563-8.558-19.122-19.118-19.122c-5.658,0-10.721,2.473-14.223,6.377  c-0.037,0.043-0.076,0.085-0.113,0.128c-3.5-3.98-8.618-6.505-14.334-6.505C8.561,3.709,0.005,12.268,0,22.831  c0,5.834,2.629,11.059,6.758,14.565H6.751l27.104,25.806l26.308-25.806h-0.012C64.279,33.89,66.911,28.669,66.911,22.831z" fill="currentColor"></path></svg></a></li>
            <li><a class="poxy-icon theme" href="javascript:void(null);" id="poxy-theme-switch" onclick="toggle_theme(); return false;" role="button" title="Toggle dark and light themes"><svg id="poxy-theme-switch-img" version="1.1" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><circle cx="185.6708" cy="183.8122" fill="currentColor" r="65.625"></circle><path d="M185.6708,87.5622a13.1256,13.1256,0,0,0,13.125-13.125V52.5622a13.125,13.125,0,1,0-26.25,0v21.875A13.1257,13.1257,0,0,0,185.6708,87.5622Z" fill="currentColor"></path><path d="M99.051,115.7519a13.1236,13.1236,0,1,0,18.56-18.56L102.1442,81.726a13.1236,13.1236,0,0,0-18.5595,18.56Z" fill="currentColor"></path><path d="M89.4208,183.8122a13.1257,13.1257,0,0,0-13.125-13.125H54.4208a13.125,13.125,0,0,0,0,26.25h21.875A13.1256,13.1256,0,0,0,89.4208,183.8122Z" fill="currentColor"></path><path d="M99.051,251.8725,83.5847,267.3431a13.1236,13.1236,0,1,0,18.56,18.56l15.4663-15.4706a13.1236,13.1236,0,1,0-18.5595-18.56Z" fill="currentColor"></path><path d="M185.6708,280.0622a13.1258,13.1258,0,0,0-13.125,13.125v21.875a13.125,13.125,0,0,0,26.25,0v-21.875A13.1257,13.1257,0,0,0,185.6708,280.0622Z" fill="currentColor"></path><path d="M272.2907,251.8725a13.1236,13.1236,0,1,0-18.56,18.56l15.4663,15.4706a13.1236,13.1236,0,1,0,18.56-18.56Z" fill="currentColor"></path><path d="M330.0458,183.8122a13.1257,13.1257,0,0,0-13.125-13.125h-21.875a13.125,13.125,0,0,0,0,26.25h21.875A13.1256,13.1256,0,0,0,330.0458,183.8122Z" fill="currentColor"></path><path d="M263.0109,119.5971a13.0824,13.0824,0,0,0,9.28-3.8452l15.4663-15.4663a13.1236,13.1236,0,1,0-18.56-18.56L253.7312,97.1923a13.125,13.125,0,0,0,9.28,22.4048Z" fill="currentColor"></path><path d="M456.9379,401.6714a63.97,63.97,0,0,1-14.9963,7.2055c-19.6448,6.5283-41.8787,2.9566-58.1439-9.8523a68.9311,68.9311,0,0,1-10.835-10.8339c-12.8088-16.2663-16.3806-38.5-9.8523-58.1471a63.8444,63.8444,0,0,1,7.2077-14.9931,8.8036,8.8036,0,0,0-10.1172-13.3034,87.5188,87.5188,0,1,0,110.0372,110.04A8.8,8.8,0,0,0,456.9379,401.6714Z" fill="currentColor"></path></svg></a></li>
            <li class="m-show-m"><a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
              <use href="#m-doc-search-icon-path"></use>
            </svg></a></li>
          </ol>
        </div>
      </div>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>
          <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</div>
          <span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>value <span class="m-thin">class</span>
        </h1>
        <p>A TOML value.</p>
        <table class="m-table m-fullwidth m-flat">
          <thead>
            <tr><th colspan="2">Template parameters</th></tr>
          </thead>
          <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-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>
        <nav class="m-block m-default poxy-toc" id="poxy-toc">
          <h3>Contents</h3>
          <ul>
            <li>
              Reference
              <ul>
                <li><a href="#base-classes">Base classes</a></li>
                <li><a href="#pub-types">Public types</a></li>
                <li><a href="#typeless-methods">Constructors, destructors, conversion operators</a></li>
                <li><a href="#pub-methods">Public functions</a></li>
                <li><a href="#equality-and-comparison">Equality and Comparison</a></li>
                <li><a href="#metadata">Metadata</a></li>
                <li><a href="#node-views">Node views</a></li>
                <li><a href="#type-casts">Type casts</a></li>
                <li><a href="#type-checks">Type checks</a></li>
                <li><a href="#value-retrieval">Value retrieval</a></li>
                <li><a href="#visitation">Visitation</a></li>
                <li><a href="#friends">Friends</a></li>
              </ul>
            </li>
          </ul>
        </nav>
        <section id="base-classes">
          <h2><a href="#base-classes">Base classes</a></h2>
          <dl class="m-doc">
            <dt>
              class <a class="m-doc" href="classtoml_1_1node.html">node</a>
            </dt>
            <dd>A TOML node.</dd>
          </dl>
        </section>
        <section id="pub-types">
          <h2><a href="#pub-types">Public types</a></h2>
          <dl class="m-doc">
            <dt>
              using <a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">value_arg</a> = <code class="m-note m-dim poxy-impl">/* ... */</code>
            </dt>
            <dd>A type alias for 'value arguments'.</dd>
            <dt id="ad87b8c7ec465c424b861aba2d4cd5526">
              using <a class="m-doc-self" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_type</a> = ValueType
            </dt>
            <dd>The value's underlying data type.</dd>
          </dl>
        </section>
        <section id="typeless-methods">
          <h2><a href="#typeless-methods">Constructors, destructors, conversion operators</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper"><a class="m-doc" href="#ab7aa8ba30bd6ead7db1e9cadbff39e22">value</a>(</span><span class="m-doc-wrap">Args &amp;&amp; ... args) <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 value.</dd>
            <dt id="a62ace5d37c6cf09fdc589efa5e0a0905">
              <span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a62ace5d37c6cf09fdc589efa5e0a0905">value</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; other) <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Copy constructor.</dd>
            <dt id="a65e6e8fa27455d83ad3ada020e11cf91">
              <span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a65e6e8fa27455d83ad3ada020e11cf91">value</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; other,
              <a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags) <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Copy constructor with flags override.</dd>
            <dt id="adfb0250a9769fea9d585609db77bc64a">
              <span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#adfb0250a9769fea9d585609db77bc64a">value</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1value.html">value</a>&amp;&amp; other) <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Move constructor.</dd>
            <dt id="a5f6f5a83b2dc3f5842f7fd5fbc0e4f59">
              <span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5f6f5a83b2dc3f5842f7fd5fbc0e4f59">value</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1value.html">value</a>&amp;&amp; other,
              <a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> flags) <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Move constructor with flags override.</dd>
          </dl>
        </section>
        <section id="pub-methods">
          <h2><a href="#pub-methods">Public functions</a></h2>
          <dl class="m-doc">
            <dt id="a42a52a860570643cd76a7e03604ad55b">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a42a52a860570643cd76a7e03604ad55b">operator=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; rhs) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Copy-assignment operator.</dd>
            <dt id="a635bbc71edd6303beced451126ecc39d">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a635bbc71edd6303beced451126ecc39d">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="classtoml_1_1value.html">value</a>&amp;&amp; rhs) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Move-assignment operator.</dd>
            <dt id="adc6a6c311465f87e5a04bb04cae9c5ad">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#adc6a6c311465f87e5a04bb04cae9c5ad">operator=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">value_<wbr/>arg</a> rhs) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Value-assignment operator.</dd>
          </dl>
        </section>
        <section id="equality-and-comparison">
          <h2><a href="#equality-and-comparison">Equality and Comparison</a></h2>
          <dl class="m-doc">
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a872e565adfbcd201f2ab1e3103699758">operator!=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Inequality operator.</dd>
            <dt id="a1771aa33bd2d425b542d0b9d0e90866d">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1771aa33bd2d425b542d0b9d0e90866d">operator&lt;</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              <a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">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&lt;</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">value_<wbr/>arg</a> lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Value less-than operator.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a7fdc4f87f9ec3efb896cc3e09694328b">operator&lt;</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Less-than operator.</dd>
            <dt id="a7d02565c608c663afc8f3d2102639740">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a7d02565c608c663afc8f3d2102639740">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              <a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">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&lt;=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">value_<wbr/>arg</a> lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Value less-than-or-equal-to operator.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ac6af15f59d537d95d1afe887b12b697e">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <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>&amp; lhs,
              <a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">value_<wbr/>arg</a> rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Value equality operator.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a2fa446100047d052d0cca2c1f3f60085">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Equality operator.</dd>
            <dt id="ace8c00e345c69ee93e5d2bd2df694340">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ace8c00e345c69ee93e5d2bd2df694340">operator&gt;</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              <a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">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&gt;</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">value_<wbr/>arg</a> lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Value greater-than operator.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ab95d07a7f48e44baefbacbf5f6072837">operator&gt;</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Greater-than operator.</dd>
            <dt id="a80417b5055072f20d3a6985d1b78af21">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a80417b5055072f20d3a6985d1b78af21">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              <a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">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&gt;=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">value_<wbr/>arg</a> lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Value greater-than-or-equal-to operator.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a0ebdea821d98546de4b686f450506637">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Greater-than-or-equal-to operator.</dd>
          </dl>
        </section>
        <section id="metadata">
          <h2><a href="#metadata">Metadata</a></h2>
          <dl class="m-doc">
            <dt id="a1a213908a7297491a07e647967897fcb">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1a213908a7297491a07e647967897fcb">flags</a>(</span><span class="m-doc-wrap">) const →  <a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Returns the metadata flags associated with this value.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a33344888484746d4106968973bcf088f">flags</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> new_flags) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Sets the metadata flags associated with this value.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a4a30e611eeddce99e5c48fd80e79b134">source</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>&amp; <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Returns the <a class="m-doc poxy-injected" href="structtoml_1_1source__region.html">source region</a> responsible for generating this node during parsing.</dd>
          </dl>
        </section>
        <section id="node-views">
          <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#a21f64d68f408033ee6610f34d3bf0bcd">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>&lt;<a class="m-doc" href="classtoml_1_1node.html">node</a>&gt; <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#ab17e0ffeb05b2ec34b87bc33375c6dce">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>&lt;const <a class="m-doc" href="classtoml_1_1node.html">node</a>&gt; <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>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a6c6df9f8faa18019e01ea778a802700f">at_path</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a>&amp; path) →  <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>&lt;<a class="m-doc" href="classtoml_1_1node.html">node</a>&gt; <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#a09b4206b0e980fe961c8f9ba1c503b86">at_path</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a>&amp; path) const →  <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>&lt;const <a class="m-doc" href="classtoml_1_1node.html">node</a>&gt; <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>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a06f8134c629450c0a308798271e98d64">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>&lt;<a class="m-doc" href="classtoml_1_1node.html">node</a>&gt;</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#a9fb5f28c07c345f55687dfcb681b33c4">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>&lt;const <a class="m-doc" href="classtoml_1_1node.html">node</a>&gt;</span>
            </dt>
            <dd>Returns a const view of the subnode matching a fully-qualified "TOML path".</dd>
            <dt>
              <span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html#ac7d6979c7246d7faee8ca48aadfcee68">operator node_view&lt;const node&gt;</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-flat m-info">explicit</span>  <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Creates a <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a> pointing to this node (const overload).</dd>
            <dt>
              <span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1node.html#a04d800d6ec9342d2ee2a364f05317573">operator node_view&lt;node&gt;</a>(</span><span class="m-doc-wrap">) <span class="m-label m-flat m-info">explicit</span>  <span class="m-label m-flat m-success">noexcept</span></span>
            </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="classtoml_1_1node.html#af3e492bf3406fb79d50308f5be974c3e">operator[]</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a>&amp; path) →  <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>&lt;<a class="m-doc" href="classtoml_1_1node.html">node</a>&gt; <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>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a462a55fc6e4f7da1108b747165fe17db">operator[]</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1path.html">toml::<wbr/>path</a>&amp; path) const →  <a class="m-doc" href="classtoml_1_1node__view.html">node_<wbr/>view</a>&lt;const <a class="m-doc" href="classtoml_1_1node.html">node</a>&gt; <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>
          </dl>
        </section>
        <section id="type-casts">
          <h2><a href="#type-casts">Type casts</a></h2>
          <dl class="m-doc">
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a42b952e50ab41b39c1c5340c010d07f0">as</a>(</span><span class="m-doc-wrap">) →  impl::wrap_node&lt;T&gt;* <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Gets a pointer to the node as a more specific node type.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a4013d8bf01b87e77643bef7cdf818a5a">as</a>(</span><span class="m-doc-wrap">) const →  const impl::wrap_node&lt;T&gt;* <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Gets a pointer to the node as a more specific node type (const overload).</dd>
            <dt id="ab2345ff50130dac057d906a65bf2b9c6">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ab2345ff50130dac057d906a65bf2b9c6">as_array</a>(</span><span class="m-doc-wrap">) →  <a class="m-doc" href="classtoml_1_1array.html">array</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="a242e8e3d8946056b9cce1d58cad2a000">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a242e8e3d8946056b9cce1d58cad2a000">as_array</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="classtoml_1_1array.html">array</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="ae2d8195984a167add6fec03afa5cd8a3">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae2d8195984a167add6fec03afa5cd8a3">as_boolean</a>(</span><span class="m-doc-wrap">) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;bool&gt;* <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&lt;bool&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="aed7757cebdf1292c88ed02a362817266">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aed7757cebdf1292c88ed02a362817266">as_boolean</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;bool&gt;* <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&lt;bool&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="afe7c3536f240417873025a0123e696c7">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#afe7c3536f240417873025a0123e696c7">as_date</a>(</span><span class="m-doc-wrap">) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<a class="m-doc" href="structtoml_1_1date.html">date</a>&gt;* <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&lt;date&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="abf5e15d8c9970ece796a32a5aa37c77f">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#abf5e15d8c9970ece796a32a5aa37c77f">as_date</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<a class="m-doc" href="structtoml_1_1date.html">date</a>&gt;* <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&lt;date&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="a1c8ef20eabfe5e63d38c0b7e9b3fa0d9">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1c8ef20eabfe5e63d38c0b7e9b3fa0d9">as_date_time</a>(</span><span class="m-doc-wrap">) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<a class="m-doc" href="structtoml_1_1date__time.html">date_<wbr/>time</a>&gt;* <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&lt;<a class="m-doc poxy-injected" href="structtoml_1_1date__time.html">date_time</a>&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="aeff1f0499b90fc6060bd7da2b0e296af">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aeff1f0499b90fc6060bd7da2b0e296af">as_date_time</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<a class="m-doc" href="structtoml_1_1date__time.html">date_<wbr/>time</a>&gt;* <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&lt;<a class="m-doc poxy-injected" href="structtoml_1_1date__time.html">date_time</a>&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="a8f05a811dd7f845e3e906b41edab299b">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8f05a811dd7f845e3e906b41edab299b">as_floating_point</a>(</span><span class="m-doc-wrap">) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;double&gt;* <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&lt;double&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="ab7b57da35b91fe52d4fef390b73a096f">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ab7b57da35b91fe52d4fef390b73a096f">as_floating_point</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;double&gt;* <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&lt;double&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="acea8bf8ca6b1766c009002fd87cdb7ac">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#acea8bf8ca6b1766c009002fd87cdb7ac">as_integer</a>(</span><span class="m-doc-wrap">) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>&gt;* <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&lt;<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="a4fabbba1330866c7f93030a0b180d4ac">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a4fabbba1330866c7f93030a0b180d4ac">as_integer</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>&gt;* <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&lt;<a class="m-doc poxy-injected poxy-external poxy-cppreference" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">int64_t</a>&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="a88b09be4dd237d20565f67bab080ec30">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a88b09be4dd237d20565f67bab080ec30">as_string</a>(</span><span class="m-doc-wrap">) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<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>&gt;* <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="#ab7aa8ba30bd6ead7db1e9cadbff39e22">value&lt;std::<wbr/>string&gt;</a>, otherwise <code>nullptr</code>.</dd>
            <dt id="adb91267966f54b652c4ff90ab2f0dea0">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#adb91267966f54b652c4ff90ab2f0dea0">as_string</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<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>&gt;* <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="#ab7aa8ba30bd6ead7db1e9cadbff39e22">value&lt;std::<wbr/>string&gt;</a>, otherwise <code>nullptr</code>.</dd>
            <dt id="a548032cf178a7208f051179a4ea435c1">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a548032cf178a7208f051179a4ea435c1">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>
            <dd>Returns <code>nullptr</code>.</dd>
            <dt id="a1e798ca9e586175659405d75535f61f7">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1e798ca9e586175659405d75535f61f7">as_table</a>(</span><span class="m-doc-wrap">) const →  const <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>
            <dd>Returns <code>nullptr</code>.</dd>
            <dt id="ada3d2850a98413de5d8016d252519cca">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ada3d2850a98413de5d8016d252519cca">as_time</a>(</span><span class="m-doc-wrap">) →  <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<a class="m-doc" href="structtoml_1_1time.html">time</a>&gt;* <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&lt;time&gt;, otherwise <code>nullptr</code>.</dd>
            <dt id="aa85a3aefd21c7656a7814dbaf0128f38">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aa85a3aefd21c7656a7814dbaf0128f38">as_time</a>(</span><span class="m-doc-wrap">) const →  const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;<a class="m-doc" href="structtoml_1_1time.html">time</a>&gt;* <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&lt;time&gt;, otherwise <code>nullptr</code>.</dd>
          </dl>
        </section>
        <section id="type-checks">
          <h2><a href="#type-checks">Type checks</a></h2>
          <dl class="m-doc">
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a03e1bbe1a0640953b7105fe40c733118">is</a>(</span><span class="m-doc-wrap">) const →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Checks if a node is a specific type.</dd>
            <dt id="a160b4dd33afd4d8c02b1a4c7bc48f17f">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a160b4dd33afd4d8c02b1a4c7bc48f17f">is_array</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>false</code>.</dd>
            <dt id="a6676776ebf94891825c658432252cab0">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a6676776ebf94891825c658432252cab0">is_array_of_tables</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>false</code>.</dd>
            <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="#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="#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="#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="#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>
            <dd>Checks if the node contains values/elements of only one type.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a5097925569d4e2f581907dc692aefe02">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.html">node</a>*&amp; first_nonmatch) →  bool <span class="m-label m-flat m-warning">final</span> <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Checks if a node contains values/elements of only one type.</dd>
            <dt id="a40d4ea2ff0d393245fc31dfc6a0f27fb">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a40d4ea2ff0d393245fc31dfc6a0f27fb">is_homogeneous</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> ntype,
              const <a class="m-doc" href="classtoml_1_1node.html">node</a>*&amp; first_nonmatch) 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>Checks if a node contains values/elements of only one type (const overload).</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ElemType = void</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a7d2b7360a2ea44282890e1ded3d3946a">is_homogeneous</a>(</span><span class="m-doc-wrap">) const →  bool <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Checks if the node contains values/elements of only one type.</dd>
            <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="#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="#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="#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>
            <dd>Returns <code>false</code>.</dd>
            <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="#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>
            <dd>Returns <code>true</code>.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a69ed0d45e2de5929fea3375cd68960eb">type</a>(</span><span class="m-doc-wrap">) const →  <a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</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 the value's node type identifier.</dd>
          </dl>
        </section>
        <section id="value-retrieval">
          <h2><a href="#value-retrieval">Value retrieval</a></h2>
          <dl class="m-doc">
            <dt id="aeb879401a651ddbf721bfe6d94b3fd8d">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aeb879401a651ddbf721bfe6d94b3fd8d">get</a>(</span><span class="m-doc-wrap">) &amp; →  <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&amp; <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Returns a reference to the underlying value.</dd>
            <dt id="aefc6bd93a20e1683922c6499913cc0cf">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aefc6bd93a20e1683922c6499913cc0cf">get</a>(</span><span class="m-doc-wrap">) &amp;&amp; →  <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&amp;&amp; <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="a5b47583e493e738d22a0fdeb14a3c091">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5b47583e493e738d22a0fdeb14a3c091">get</a>(</span><span class="m-doc-wrap">) const &amp; →  const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&amp; <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="abae7c5fa6c6c1cc429763b3b6c601318">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#abae7c5fa6c6c1cc429763b3b6c601318">get</a>(</span><span class="m-doc-wrap">) const &amp;&amp; →  const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&amp;&amp; <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">
              <span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aeaa7f385c753bc7f11f0758d8ae325b6">operator const value_type&amp;</a>(</span><span class="m-doc-wrap">) const &amp; <span class="m-label m-flat m-info">explicit</span>  <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="aef9bb783e7c8ba475838742b7cfc3178">
              <span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#aef9bb783e7c8ba475838742b7cfc3178">operator const value_type&amp;&amp;</a>(</span><span class="m-doc-wrap">) &amp;&amp; <span class="m-label m-flat m-info">explicit</span>  <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="adaf04b51fea2bdc3da39fbf63c240b3b">
              <span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#adaf04b51fea2bdc3da39fbf63c240b3b">operator value_type&amp;</a>(</span><span class="m-doc-wrap">) &amp; <span class="m-label m-flat m-info">explicit</span>  <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Returns a reference to the underlying value.</dd>
            <dt id="ad5d4a1c818d7004bc4c42219edf84dd9">
              <span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ad5d4a1c818d7004bc4c42219edf84dd9">operator value_type&amp;&amp;</a>(</span><span class="m-doc-wrap">) &amp;&amp; <span class="m-label m-flat m-info">explicit</span>  <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="a6b50e3a6fc1335b779cfe75e88014193">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a6b50e3a6fc1335b779cfe75e88014193">operator*</a>(</span><span class="m-doc-wrap">) &amp; →  <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&amp; <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Returns a reference to the underlying value.</dd>
            <dt id="a38c830d85b1129dbf887fcd2792739d2">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a38c830d85b1129dbf887fcd2792739d2">operator*</a>(</span><span class="m-doc-wrap">) &amp;&amp; →  <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&amp;&amp; <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="afeef59a0cb492374ea25b1f99c1ca8bb">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#afeef59a0cb492374ea25b1f99c1ca8bb">operator*</a>(</span><span class="m-doc-wrap">) const &amp; →  const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&amp; <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="ac9a224ac341563c8b2de9c7cf4939061">
              <span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ac9a224ac341563c8b2de9c7cf4939061">operator*</a>(</span><span class="m-doc-wrap">) const &amp;&amp; →  const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>&amp;&amp; <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="#a8e9df5bdfc1b2ea3f039b7ba20712ed1">operator-&gt;</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="#acb6f4b2f69a4a6ae47667c363b8ce048">operator-&gt;</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>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a58fde40ef0b172d36bf293c251b25130">ref</a>(</span><span class="m-doc-wrap">) &amp; →  decltype(auto) <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Gets a raw reference to a node's underlying data.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#aca651e7fe7f377fe958b20678d08ef14">ref</a>(</span><span class="m-doc-wrap">) &amp;&amp; →  decltype(auto) <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Gets a raw reference to a node's underlying data (rvalue overload).</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a9794ed57d952d8293ed3278a11e54ca2">ref</a>(</span><span class="m-doc-wrap">) const &amp; →  decltype(auto) <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Gets a raw reference to a node's underlying data (const lvalue overload).</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a937af29dc15ef8e1af7950d925341cc3">ref</a>(</span><span class="m-doc-wrap">) const &amp;&amp; →  decltype(auto) <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Gets a raw reference to a node's underlying data (const rvalue overload).</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a302e5bc2e4796e9b1ae60b002911a007">value</a>(</span><span class="m-doc-wrap">) const →  <a class="m-doc" href="namespacetoml.html#af34a9fb3305e419784104609e6bbb7ac">optional</a>&lt;T&gt; <span class="m-label m-flat m-success">noexcept(…)</span></span>
            </dt>
            <dd>Gets the value contained by this node.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a11f4ae869670d876f704f676f0ead81b">value_exact</a>(</span><span class="m-doc-wrap">) const →  <a class="m-doc" href="namespacetoml.html#af34a9fb3305e419784104609e6bbb7ac">optional</a>&lt;T&gt; <span class="m-label m-flat m-success">noexcept(…)</span></span>
            </dt>
            <dd>Gets the value contained by this node.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#ad1c332ae403fade90216726105419efc">value_or</a>(</span><span class="m-doc-wrap">T&amp;&amp; default_value) const →  auto <span class="m-label m-flat m-success">noexcept(…)</span></span>
            </dt>
            <dd>Gets the raw value contained by this node, or a default.</dd>
          </dl>
        </section>
        <section id="visitation">
          <h2><a href="#visitation">Visitation</a></h2>
          <dl class="m-doc">
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename Func</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#ad47390f3832260db7bf06cd282598240">visit</a>(</span><span class="m-doc-wrap">Func&amp;&amp; visitor) &amp; →  decltype(auto) <span class="m-label m-flat m-success">noexcept(…)</span></span>
            </dt>
            <dd>Invokes a visitor on the node based on the node's concrete type.</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename Func</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#a371a03c4b91cfbb8d9ee785c1eacf836">visit</a>(</span><span class="m-doc-wrap">Func&amp;&amp; visitor) &amp;&amp; →  decltype(auto) <span class="m-label m-flat m-success">noexcept(…)</span></span>
            </dt>
            <dd>Invokes a visitor on the node based on the node's concrete type (rvalue overload).</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename Func</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#ad4a42e50f923b0fe1efff0a6719dab90">visit</a>(</span><span class="m-doc-wrap">Func&amp;&amp; visitor) const &amp; →  decltype(auto) <span class="m-label m-flat m-success">noexcept(…)</span></span>
            </dt>
            <dd>Invokes a visitor on the node based on the node's concrete type (const lvalue overload).</dd>
            <dt>
              <div class="m-doc-template">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename Func</span></span>&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="classtoml_1_1node.html#ac387cb04111addc0c291ecdd6f299666">visit</a>(</span><span class="m-doc-wrap">Func&amp;&amp; visitor) const &amp;&amp; →  decltype(auto) <span class="m-label m-flat m-success">noexcept(…)</span></span>
            </dt>
            <dd>Invokes a visitor on the node based on the node's concrete type (const rvalue overload).</dd>
          </dl>
        </section>
        <section id="friends">
          <h2><a href="#friends">Friends</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a71ce98214aac12bc976038d13342f0d8">operator&lt;&lt;</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>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; 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>&amp;</span>
            </dt>
            <dd>Prints the value out to a stream as formatted TOML.</dd>
          </dl>
        </section>
        <section>
          <h2>Typedef documentation</h2>
          <section class="m-doc-details" id="ae2ff26c3e1a69d18a35bfbf8b191ed70"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              using <span class="m-doc-details-prefix">toml::value::</span><a class="m-doc-self" href="#ae2ff26c3e1a69d18a35bfbf8b191ed70">value_arg</a> = <code class="m-note m-dim poxy-impl">/* ... */</code>
            </h3>
            <p>A type alias for 'value arguments'.</p>
<p>This differs according to the value's type argument:</p><ul><li>ints, floats, booleans: <code>value_type</code></li><li>strings: <code>string_view</code></li><li>everything else: <code>const value_type&amp;</code></li></ul>
          </div></section>
        </section>
        <section>
          <h2>Function documentation</h2>
          <section class="m-doc-details" id="ab7aa8ba30bd6ead7db1e9cadbff39e22"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              <span class="m-doc-wrap-bumper"> <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ab7aa8ba30bd6ead7db1e9cadbff39e22">value</a>(</span><span class="m-doc-wrap">Args &amp;&amp; ... args) <span class="m-label m-info">explicit</span>  <span class="m-label m-success">noexcept(…)</span></span></span>
            </h3>
            <p>Constructs a toml value.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">args</td>
                  <td>Arguments to forward to the internal value's constructor.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a872e565adfbcd201f2ab1e3103699758"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
                <br/>
                template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a872e565adfbcd201f2ab1e3103699758">operator!=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Inequality operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">lhs</td>
                  <td>The LHS value.</td>
                </tr>
                <tr>
                  <td>rhs</td>
                  <td>The RHS value.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>True if the values were not of the same type, or did not contain the same value.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a7fdc4f87f9ec3efb896cc3e09694328b"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
                <br/>
                template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a7fdc4f87f9ec3efb896cc3e09694328b">operator&lt;</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Less-than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">lhs</td>
                  <td>The LHS <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a>.</td>
                </tr>
                <tr>
                  <td>rhs</td>
                  <td>The RHS <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a>.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><strong><em>Same value types:</em></strong>
								<code>lhs.get() &lt; rhs.get()</code><strong><em>Different value types:</em></strong>
							<code>lhs.type() &lt; rhs.type()</code></td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="ac6af15f59d537d95d1afe887b12b697e"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
                <br/>
                template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ac6af15f59d537d95d1afe887b12b697e">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Less-than-or-equal-to operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">lhs</td>
                  <td>The LHS <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a>.</td>
                </tr>
                <tr>
                  <td>rhs</td>
                  <td>The RHS <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a>.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><strong><em>Same value types:</em></strong>
								<code>lhs.get() &lt;= rhs.get()</code><strong><em>Different value types:</em></strong>
							<code>lhs.type() &lt;= rhs.type()</code></td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a2fa446100047d052d0cca2c1f3f60085"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
                <br/>
                template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a2fa446100047d052d0cca2c1f3f60085">operator==</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Equality operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">lhs</td>
                  <td>The LHS value.</td>
                </tr>
                <tr>
                  <td>rhs</td>
                  <td>The RHS value.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>True if the values were of the same type and contained the same value.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="ab95d07a7f48e44baefbacbf5f6072837"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
                <br/>
                template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ab95d07a7f48e44baefbacbf5f6072837">operator&gt;</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Greater-than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">lhs</td>
                  <td>The LHS <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a>.</td>
                </tr>
                <tr>
                  <td>rhs</td>
                  <td>The RHS <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a>.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><strong><em>Same value types:</em></strong>
								<code>lhs.get() &gt; rhs.get()</code><strong><em>Different value types:</em></strong>
							<code>lhs.type() &gt; rhs.type()</code></td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a0ebdea821d98546de4b686f450506637"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
                <br/>
                template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename T</span></span>&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a0ebdea821d98546de4b686f450506637">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&lt;T&gt;&amp; rhs) <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Greater-than-or-equal-to operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">lhs</td>
                  <td>The LHS <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a>.</td>
                </tr>
                <tr>
                  <td>rhs</td>
                  <td>The RHS <a class="m-doc" href="classtoml_1_1value.html">toml::<wbr/>value</a>.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><strong><em>Same value types:</em></strong>
								<code>lhs.get() &gt;= rhs.get()</code><strong><em>Different value types:</em></strong>
							<code>lhs.type() &gt;= rhs.type()</code></td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a33344888484746d4106968973bcf088f"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              <span class="m-doc-wrap-bumper"><a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a33344888484746d4106968973bcf088f">flags</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="namespacetoml.html#a73eba6a34e7c7c4a4d311100800e1bb5">value_<wbr/>flags</a> new_flags) <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Sets the metadata flags associated with this value.</p>
            <table class="m-table m-fullwidth m-flat">
              <tfoot>
                <tr>
                  <th style="width: 1%">Returns</th>
                  <td>A reference to the value object.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a66f31db0fe4aa1a65fff1ce3bb8be1eb"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              <span class="m-doc-wrap-bumper">bool <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" 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 <span class="m-label m-warning">final</span> <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Checks if the node contains values/elements of only one type.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">ntype</td>
                  <td>A TOML node type.<br/><strong><em><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48da334c4a4c42fdb79d7ebc3e73b517e6f8">toml::<wbr/>node_type::<wbr/>none</a>:</em></strong> "is every element the same type?" <strong><em>Anything else:</em></strong> "is every element one of these?"</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>True if the node was homogeneous.</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">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">&lt;&lt;</span> <span class="s">"homogenous: "sv</span> <span class="o">&lt;&lt;</span> <span class="n">arr</span><span class="p">.</span><span class="nf">is_homogeneous</span><span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="nc">node_type</span><span class="o">::</span><span class="mi">none</span><span class="p">)</span> <span class="o">&lt;&lt;</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">&lt;&lt;</span> <span class="s">"all floats: "sv</span> <span class="o">&lt;&lt;</span> <span class="n">arr</span><span class="p">.</span><span class="nf">is_homogeneous</span><span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="nc">node_type</span><span class="o">::</span><span class="mi">floating_point</span><span class="p">)</span> <span class="o">&lt;&lt;</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">&lt;&lt;</span> <span class="s">"all arrays: "sv</span> <span class="o">&lt;&lt;</span> <span class="n">arr</span><span class="p">.</span><span class="nf">is_homogeneous</span><span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="nc">node_type</span><span class="o">::</span><span class="mi">array</span><span class="p">)</span> <span class="o">&lt;&lt;</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">&lt;&lt;</span> <span class="s">"all ints:   "sv</span> <span class="o">&lt;&lt;</span> <span class="n">arr</span><span class="p">.</span><span class="nf">is_homogeneous</span><span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="nc">node_type</span><span class="o">::</span><span class="mi">integer</span><span class="p">)</span> <span class="o">&lt;&lt;</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>
          </div></section>
          <section class="m-doc-details" id="a5097925569d4e2f581907dc692aefe02"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              <span class="m-doc-wrap-bumper">bool <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a5097925569d4e2f581907dc692aefe02">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.html">node</a>*&amp; first_nonmatch) <span class="m-label m-warning">final</span> <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Checks if a node contains values/elements of only one type.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">ntype</td>
                  <td>A TOML node type.<br/><strong><em><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48da334c4a4c42fdb79d7ebc3e73b517e6f8">toml::<wbr/>node_type::<wbr/>none</a>:</em></strong> "is every element the same type?" <strong><em>Anything else:</em></strong> "is every element one of these?"</td>
                </tr>
                <tr>
                  <td>first_nonmatch</td>
                  <td>Reference to a pointer in which the address of the first non-matching element will be stored if the return value is false.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>True if the node was homogeneous.</td>
                </tr>
              </tfoot>
            </table>
<pre class="m-code"><span class="k">auto</span> <span class="n">cfg</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="s">"arr = [ 1, 2, 3, 4.0 ]"</span><span class="p">);</span>
<span class="nn">toml</span><span class="o">::</span><span class="nc">array</span><span class="o">&amp;</span> <span class="n">arr</span> <span class="o">=</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">as_array</span><span class="p">();</span>

<span class="nn">toml</span><span class="o">::</span><span class="nc">node</span><span class="o">*</span> <span class="n">nonmatch</span><span class="p">{};</span>
<span class="k">if</span> <span class="p">(</span><span class="n">arr</span><span class="p">.</span><span class="nf">is_homogeneous</span><span class="p">(</span><span class="nn">toml</span><span class="o">::</span><span class="nc">node_type</span><span class="o">::</span><span class="mi">integer</span><span class="p">,</span> <span class="n">nonmatch</span><span class="p">))</span>
    <span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o">&lt;&lt;</span> <span class="s">"array was homogeneous"sv</span> <span class="o">&lt;&lt;</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
<span class="k">else</span>
    <span class="nn">std</span><span class="o">::</span><span class="nc">cout</span> <span class="o">&lt;&lt;</span> <span class="s">"array was not homogeneous!</span><span class="se">\n</span><span class="s">"</span>
    <span class="o">&lt;&lt;</span> <span class="s">"first non-match was a "sv</span> <span class="o">&lt;&lt;</span> <span class="n">nonmatch</span><span class="o">-&gt;</span><span class="nf">type</span><span class="p">()</span> <span class="o">&lt;&lt;</span> <span class="s">" at "</span> <span class="o">&lt;&lt;</span> <span class="n">nonmatch</span><span class="o">-&gt;</span><span class="nf">source</span><span class="p">()</span> <span class="o">&lt;&lt;</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">array was not homogeneous!</span>
<span class="go">first non-match was a floating-point at line 1, column 18</span></pre><aside class="m-note m-default"><h4>Remark</h4><p>Always returns <code>false</code> for empty tables and arrays.</p></aside>
          </div></section>
          <section class="m-doc-details" id="a69ed0d45e2de5929fea3375cd68960eb"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              <span class="m-doc-wrap-bumper"><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a69ed0d45e2de5929fea3375cd68960eb">type</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-warning">final</span> <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Returns the value's node type identifier.</p>
            <table class="m-table m-fullwidth m-flat">
              <tfoot>
                <tr>
                  <th style="width: 1%">Returns</th>
                  <td><p>One of:</p><ul><li><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48dab45cffe084dd3d20d928bee85e7b0f21">node_type::<wbr/>string</a></li><li><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48da157db7df530023575515d366c9b672e8">node_type::<wbr/>integer</a></li><li><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48da387f7c620a256fdffcec74c1e7181a2a">node_type::<wbr/>floating_point</a></li><li><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48da84e2c64f38f78ba3ea5c905ab5a2da27">node_type::<wbr/>boolean</a></li><li><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48da5fc732311905cb27e82d67f4f6511f7f">node_type::<wbr/>date</a></li><li><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48da07cc694b9b3fc636710fa08b6922c42b">node_type::<wbr/>time</a></li><li><a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48dad611c46f8e65d9e049afe165de18c264">node_type::<wbr/>date_time</a></li></ul></td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a8e9df5bdfc1b2ea3f039b7ba20712ed1"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              <span class="m-doc-wrap-bumper"><a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8e9df5bdfc1b2ea3f039b7ba20712ed1">operator-&gt;</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="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is a class/struct.</p></aside>
          </div></section>
          <section class="m-doc-details" id="acb6f4b2f69a4a6ae47667c363b8ce048"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              <span class="m-doc-wrap-bumper">const <a class="m-doc" href="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a>* <span class="m-doc-details-prefix">toml::value::</span></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#acb6f4b2f69a4a6ae47667c363b8ce048">operator-&gt;</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="#ad87b8c7ec465c424b861aba2d4cd5526">value_<wbr/>type</a> is a class/struct.</p></aside>
          </div></section>
          <section class="m-doc-details" id="a71ce98214aac12bc976038d13342f0d8"><div>
            <h3>
              <div class="m-doc-template">
                <span class="m-doc-template-parent">template &lt;<span class="m-doc-template-params"><span class="m-doc-template-param">typename ValueType</span></span>&gt;</span>
              </div>
              <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>&amp; </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a71ce98214aac12bc976038d13342f0d8">operator&lt;&lt;</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>&amp; lhs,
              const <a class="m-doc" href="classtoml_1_1value.html">value</a>&amp; rhs)</span></span>
            </h3>
            <p>Prints the value out to a stream as formatted TOML.</p>
<aside class="m-block m-special"><h4>Conditional availability </h4><p>This operator is only available when <a class="m-doc" href="group__configuration.html#ga9fc77582d9de77f59d2ddc9ae1f748ca">TOML_<wbr/>ENABLE_<wbr/>FORMATTERS</a> is enabled.</p></aside>
          </div></section>
        </section>
      </div>
    </div>
  </div>
</article></main>
<div class="m-doc-search" id="search">
  <a href="#!" onclick="return hideSearch()"></a>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-m-8 m-push-m-2">
        <div class="m-doc-search-header m-text m-small">
          <div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
          <div id="search-symbolcount">…</div>
        </div>
        <div class="m-doc-search-content">
          <form>
            <input autocomplete="off" autofocus="autofocus" disabled="disabled" id="search-input" name="q" placeholder="Loading …" spellcheck="false" type="search"/>
          </form>
          <noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
          <div class="m-text m-dim m-text-center" id="search-help">
            <p class="m-noindent">Search for symbols, directories, files, pages or
            modules. You can omit any prefix from the symbol or file path; adding a
            <code>:</code> or <code>/</code> suffix lists all members of given symbol or
            directory.</p>
            <p class="m-noindent">Use <span class="m-label m-dim">↓</span>
            / <span class="m-label m-dim">↑</span> to navigate through the list,
            <span class="m-label m-dim">Enter</span> to go.
            <span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
            copy a link to the result using <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">M</span> produces a Markdown link.</p>
          </div>
          <div class="m-text m-warning m-text-center" id="search-notfound">Sorry, nothing was found.</div>
          <ul id="search-results"></ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="search-v2.js"></script><script>install_mcss_search_shim();</script>
<script async="async" src="searchdata-v2.js"></script>
<footer><nav>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        
<a class="poxy-external" href="https://github.com/marzer/tomlplusplus" target="_blank">GitHub</a>
• <a class="poxy-external" href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a>
• <a class="sponsor poxy-external" href="https://github.com/sponsors/marzer" target="_blank">Become a sponsor</a>
• <a class="poxy-external" href="https://github.com/marzer/tomlplusplus/blob/master/LICENSE" target="_blank">License</a>
• <a download="" href="toml++.tagfile.xml" target="_blank" type="text/xml">Doxygen tagfile</a>
<br/><br/>
Site generated using <a class="poxy-external" href="https://github.com/marzer/poxy/" target="_blank">Poxy</a>

      </div>
    </div>
  </div>
</nav></footer>


</body></html>