Код: Выделить всё
struct S
{
int n; // defines S::n
static int i; // declares, but does not define S::i
inline static int x; // defines S::x
};
Подробнее здесь: https://stackoverflow.com/questions/796 ... dont-int-x
Код: Выделить всё
struct S
{
int n; // defines S::n
static int i; // declares, but does not define S::i
inline static int x; // defines S::x
};