https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61658
--- Comment #1 from __vic <d.v.a at ngs dot ru> --- If replace with: std::string st(1U, '0'); then prints as expected: 1 0 Why {1U, '0'} is treated as std::initializer_list<char> ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61658
--- Comment #1 from __vic <d.v.a at ngs dot ru> --- If replace with: std::string st(1U, '0'); then prints as expected: 1 0 Why {1U, '0'} is treated as std::initializer_list<char> ?