Fixed
Fixed many corner-cases.
- spelling fixes (#167) (@karl-nilsson)
- fix condition of inlining while serialization (#169) (@ohdarling)
- fix warning on MSVC C26478 (#171) (@estshorter)
- replace
not
in README by!
(#172) (@estshorter) - fix many warnings around macro (#176) (@phlptp)
- fix g++ free-nonheap-object warning (#173) (#178) (@marascio)
- make installation optional if embedded (#185) (@ax3l)
- fix out_of_range exception with malformed toml file (#164)
- workaround __cplusplus macro on MSVC (#182)
- fix SFINAE condition while conversion (#177)
- reorder macro to detect MSVC earlier (#166)
- fix EOF after comment without line feed (#180)
- fix serialization of empty key
- fix serialization of NaN and Inf; use literal string instead of printf
- fix serialization of an array containing a table; if an array has a table and other value (e.g. integer), the table must be inlined.
- fix serialization of control chars in a string
- disallow non-existing datetime
- disallow 0x0A-1F in a string
- disallow invalid UTF-8 sequence in a string
- disallow subtable key conflict
- disallow null char at the end of input (#181)
- disallow mixing dotted key and inline table
- disallow mixing dotted key and table (#183)
- show better error message for a trailing comma in an inline table