home/categories/frontend/ecnu-icalk-autoskill-skillbank-users-chinese-gpt3-5-8-glm4-7-c-union结构体多别名访问实现-skill-md
frontenddevelopment
c-union
使用union实现C++结构体,支持通过xyz、rgb及数组v[3]三种方式访问同一内存,并采用typedef tagFoo {} Foo;的命名风格。
maintainer
ECNU-ICALK
Updated 3/2/2026
Stars
304
Forks
34
quick start
Installation and usage
使用union实现C++结构体,支持通过xyz、rgb及数组v[3]三种方式访问同一内存,并采用typedef tagFoo {} Foo;的命名风格。
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use c-union