Fixes:
- fixed inconsistent emission of leading/trailing newlines when writing a table to an ostream (#48) (@levicki)
- fixed
Wcast-alignwarning spam on ARM - fixed
array::insertnot working correctly in some cases - fixed
node::value_or()not having the same semantics asnode::value()(#50) (@whiterabbit963) - fixed 'misleading assignment' of rvalue node_views (#52) (@Reedbeta)
- fixed some issues handling infinities and NaNs (#51) (@Reedbeta)
- fixed some minor documentation issues
Additions:
- added support for
__fp16,_Float16,__float128,__int128_tand__uint128_t - added copy construction/assignment for arrays, tables and values
- added insert, emplace, push_back etc. compatibility with node_views
- added
node::is_homogenous - added
table::is_homogenous - added
value::is_homogenous(just for generic code's sake) - added
is_homogenousoverload for identifying failure-causing element - added implicit conversion operator from
nodetonode_view(#52) (@Reedbeta)
Changes:
- renamed
TOML_ALL_INLINEtoTOML_HEADER_ONLY(the old name will still work, but is no longer documented) - general cleanup