Код: Выделить всё
int a{}, b = decltype((a)){a}; // gcc: can't bind non-const lvalue ref to rvalue
Подробнее здесь: https://stackoverflow.com/questions/784 ... -as-rvalue
Код: Выделить всё
int a{}, b = decltype((a)){a}; // gcc: can't bind non-const lvalue ref to rvalue