It works when I create a variable with std::initializer_list<std::string>:
auto a = std::initializer_list<std::string>{"1", "2", "3", "4"};
But when I create a variable with a pointer to std::initializer_list<std::string>, the values of the pointer are empty:
auto b = new std::initializer_list<std::string>{"1", "2", "3", "4"};
I tried with integer values and both cases work (std::initializer_list<int>{1, 2, 3, 4} and new std::initializer_list<int>{1, 2, 3, 4}).

