Try this:
auto ptr = std::make_shared<Func>(std::initializer_list<std::string>{"foo", "bar", "baz"});
Clang is not willing to deduce the type of {"foo", "bar", "baz"}
. I’m currently not sure whether that is the way the language is supposed to work, or if we’re looking at a compiler bug.