Код: Выделить всё
template
class A
{
public:
static constexpr void print()
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78677976/how-to-pass-constexpr-to-constructor[/url]Код: Выделить всё
template
class A
{
public:
static constexpr void print()
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78677976/how-to-pass-constexpr-to-constructor[/url]