permit tie with non-match types in from_toml

This commit is contained in:
ToruNiina
2017-05-19 14:44:05 +09:00
parent a198a5f103
commit 8a98ce8e35
2 changed files with 4 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ struct from_toml_tie_impl<0, Ts...>
{
static void invoke(std::tuple<Ts& ...> tie, const toml::value& v)
{
throw type_error("from_toml(tie, value): no match");
return;
}
};