You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on build_toml.cpp, I understand that the fields appear in the reverse order of insertion. I'm currently not seeing that. Is the order of fields random?
The text was updated successfully, but these errors were encountered:
The default implementation uses a std::unordered_map for key storage since TOML doesn't mandate anything about key ordering. You can force it to be ordered (i.e. use a std::map) by defining CPPTOML_USE_MAP before including the header. That still won't use the insertion order, but it will use some order.
Based on build_toml.cpp, I understand that the fields appear in the reverse order of insertion. I'm currently not seeing that. Is the order of fields random?
The text was updated successfully, but these errors were encountered: