Merge remote-tracking branch 'Delapouite/too-many'

This commit is contained in:
Maxime Coste 2017-09-11 21:14:06 +08:00
commit c859cb57dc

View File

@ -197,7 +197,7 @@ void option_from_string(StringView str, std::tuple<Types...>& opt)
if (elems.size() != sizeof...(Types))
throw runtime_error(elems.size() < sizeof...(Types) ?
"not enough elements in tuple"
: "to many elements in tuple");
: "too many elements in tuple");
TupleOptionDetail<sizeof...(Types)-1, Types...>::from_string(elems, opt);
}