update dir

This commit is contained in:
light-city
2019-08-07 14:36:00 +08:00
parent f1e2b3fbef
commit d49f1a8484
16 changed files with 317 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
# UNION那些事
## 关于作者:
个人公众号:
![](../img/wechat.jpg)
联合union是一种节省空间的特殊的类一个 union 可以有多个数据成员,但是在任意时刻只有一个数据成员可以有值。当某个成员被赋值后其他成员变为未定义状态。联合有如下特点:
- 默认访问控制符为 public