A static data member is not bound to a single instance of your class.
静态数据成员没有绑定到类的一个实例。
It is recommended that all serializable classes contain a private static data member named serialVersionUID, of type long.
建议让所有可序列化的类都包含类型为long、名为serialversionuid的私有静态数据成员。
If you declare a static data member within a class definition as dllexport , a definition must occur somewhere within the same program (as with nonclass external linkage).
你必须在同一个程序中定义所有此类成员,否则会产生一个链接错误。
应用推荐