阅读背景:

如何在c++中编写具有多个数据字段的类java -enum ?

来源:互联网 

Coming from a Java background, I find C++'s enums very lame. I wanted to know how to write Java-like enums (the ones in which the enum values are objects, and can have attributes and methods) in C++.Coming from a Java background, I find C++'s enu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: