https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104013

--- Comment #6 from Alexander Poeppel <trekie10b at gmx dot de> ---
It works as expected when wrapping the int in double braces:

std::vector<std::any> vec_test_any = std::vector<std::any>({{5}});

Reply via email to