Merge branch 'master' into auto-conversion-macro

This commit is contained in:
ToruNiina
2021-04-02 16:25:41 +09:00
11 changed files with 324 additions and 134 deletions

View File

@@ -70,9 +70,9 @@ struct from<extlib::foo>
template<>
struct into<extlib::foo>
{
static toml::table into_toml(const extlib::foo& f)
static toml::value into_toml(const extlib::foo& f)
{
return toml::table{{"a", f.a}, {"b", f.b}};
return toml::value{{"a", f.a}, {"b", f.b}};
}
};