mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 09:08:08 +08:00

location is almost same as an Iterator, but having shared_ptr that points the content. region is almost same as a range. by adding pointer to the content source, utility function to show the error message can be implemented easier. it is expected that this also makes easy to show error messages after parse (e.g., in the case of bad_get)