Вот мой минимальный пример:
Код: Выделить всё
#include
#include
class A {
public:
static constexpr std::string name() {return "a";}
void onlyInA() const {std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79283228/stdstring-comparison-not-constexpr-in-clang[/url]
Мобильная версия