AS
Size: a a a
AS
VS
AS
VS
VS
AS
VS
AS
AS
AS
VS
hh
VS
AC
inline
и constexpr
переменной?VS
hh
inline
и constexpr
переменной?VS
К
inline
и constexpr
переменной?struct MyClass
{
inline static const int sValue = 777;
};
AS
A static data member may be declared inline. An inline static data member can be defined in the class definition and may specify an initializer. It does not need an out-of-class definition:
struct X
{
inline static int n = 1;
};
hh