对齐填充 问答列表

如何将类的大小控制为成员大小的倍数?

作者:alfC 提问时间:11/7/2023

我有以下课程, struct employee { std::string name; short salary; std::size_t age; }; 举个例子,在 Linux amd...


共1条 当前第1页