博客园  :: 首页  :: 联系 :: 管理

Value Types

Posted on 2006-12-14 01:05  sunrack  阅读(154)  评论(0)    收藏  举报
Only three kinds of user-defined value types can be created using C++/CLI:
• enum class or enum struct (equivalent)
• value struct
• value class
The enum class and enum struct types are simply named constants. The value struct and value
class types are identical, except that the default access value struct members are public, whereas
value class members are private.