parent
df655422d1
commit
a8c792706d
|
@ -350,6 +350,9 @@ inline String option_to_string(const PrefixedList<P, T>& opt, Quoting quoting)
|
|||
template<typename P, typename T>
|
||||
inline PrefixedList<P, T> option_from_strings(Meta::Type<PrefixedList<P, T>>, ConstArrayView<String> strs)
|
||||
{
|
||||
if (strs.empty())
|
||||
return {{}, {}};
|
||||
|
||||
return {option_from_string(Meta::Type<P>{}, strs[0]),
|
||||
option_from_strings(Meta::Type<Vector<T, MemoryDomain::Options>>{}, strs.subrange(1))};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user