std::same_as концепт не вызывается

#include <concepts>

int f(std::integral auto);
int f(std::same_as<char> auto);
const auto x = f('?');

Почему программа не компилируется?

error C2668: 'f': ambiguous call to overloaded function


Ответы (0 шт):