#include <initializer_list>
{
auto i = 3;
auto a = {42};
auto b{42};
auto c = {1, 2};
}
Here is the transformed code:
#include <initializer_list>
{
int i = 3;
std::initializer_list<int> a = std::initializer_list<int>{42};
int b = {42};
std::initializer_list<int> c = std::initializer_list<int>{1, 2};
return 0;
}
Live view