added iterators for tables and arrays

also:
- fixed parsing table headers allowing invalid characters
- fixed implicit fallthrough warnings
- fixed some issues parsing dates and times
- added `table::erase`
- added `array::operator[]`
- added `value::operator*`
- added stream operators for date, time and date_time
- added `impl::print_to_stream`
- added more parsing diagnostics
- added many tests
This commit is contained in:
Mark Gillard
2020-01-07 17:52:50 +02:00
parent 40ffee43fb
commit 537eb30080
25 changed files with 4037 additions and 2963 deletions

View File

@@ -65,6 +65,7 @@
<ClInclude Include="..\include\toml++\toml_node.h" />
<ClInclude Include="..\include\toml++\toml_parser.h" />
<ClInclude Include="..\include\toml++\toml_node_view.h" />
<ClInclude Include="..\include\toml++\toml_print_to_stream.h" />
<ClInclude Include="..\include\toml++\toml_utf8_generated.h" />
<ClInclude Include="..\include\toml++\toml_table.h" />
<ClInclude Include="..\include\toml++\toml_utf8.h" />

View File

@@ -15,6 +15,7 @@
<ClInclude Include="..\include\toml++\toml_json_formatter.h" />
<ClInclude Include="..\include\toml++\toml_formatter.h" />
<ClInclude Include="..\include\toml++\toml_version.h" />
<ClInclude Include="..\include\toml++\toml_print_to_stream.h" />
</ItemGroup>
<ItemGroup>
<None Include="..\.editorconfig" />