mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
`location` and `region` have a (shared_ptr to the) container of TOML contents. Those take a template argument to allow both std::vector<char> and std::string as an interanal container. But since those are internal feature, i.e. it should not be used by a user directly, this template can be removed by re-writing a parser a bit. This introduces a complexity to toml11 error reporting system, so I'm removing this. First, remove all the location<std::string> from the parser. Then the template argument can be removed because everyone uses std::vector<char> now.