联合体
外观
在计算机科学中,联合体(Template:Lang-en'''union''')一种具有多个类型或格式的值,或者把它定义为一种由具有这样的值的变量 (程序设计)变量形成的数据结构。一些编程语言可以支持被称为“联合体”的特殊的資料類型,来表示上述的变量。
外部链接
- boost::variant, a type-safe alternative to C++ unions
- MSDN: Classes,Structures & Unions, for examples and syntax
- differences, differences between union & structure
|
这是一篇與计算机相關的小作品。您可以通过编辑或修订扩充其内容。 |