feat: support string_type in toml::format

This commit is contained in:
ToruNiina
2024-07-20 17:22:10 +09:00
parent 6085c53ea2
commit 43f5a74bf0
2 changed files with 203 additions and 183 deletions

View File

@@ -10,25 +10,25 @@ namespace toml
struct type_config;
struct ordered_type_config;
template std::string
template typename basic_value<type_config>::string_type
format<type_config>(const basic_value<type_config>&, const spec);
template std::string
template typename basic_value<type_config>::string_type
format<type_config>(const typename basic_value<type_config>::key_type& k,
const basic_value<type_config>& v, const spec);
template std::string
template typename basic_value<type_config>::string_type
format<type_config>(const std::vector<typename basic_value<type_config>::key_type>& ks,
const basic_value<type_config>& v, const spec s);
template std::string
template typename basic_value<type_config>::string_type
format<ordered_type_config>(const basic_value<ordered_type_config>&, const spec);
template std::string
template typename basic_value<type_config>::string_type
format<ordered_type_config>(const typename basic_value<ordered_type_config>::key_type& k,
const basic_value<ordered_type_config>& v, const spec);
template std::string
template typename basic_value<type_config>::string_type
format<ordered_type_config>(const std::vector<typename basic_value<ordered_type_config>::key_type>& ks,
const basic_value<ordered_type_config>& v, const spec s);