Mq-b / Loser-HomeWork

卢瑟们的作业展示,答案讲解,以及一些C++知识
https://mq-b.github.io/Loser-HomeWork/
Apache License 2.0
613 stars 130 forks source link

Update akchilov2.cpp #225

Closed AzrBrk closed 8 months ago

AzrBrk commented 8 months ago

研究了一下内存对齐,增加了寻址的稳定性。使用了更多STL的元编程工具,如std::conditional_t, 将构造初始化列表整合进count_size_type. https://gcc.godbolt.org/z/xThd81anz https://gcc.godbolt.org/z/andnd7W8q