标签:std::aligned_storage

共 1 篇文章

C++ std::aligned_storage实现内存对齐的对象池

C++ std::alignedstorage实现内存对齐的对象池 在C++中,频繁的内存分配和释放操作会带来性能开销。对象池是一种设计模式,它通过预先分配一大块内存,并在需要时从

# C++对象池 # 内存对齐 # std::aligned_storage
2026-05-12 162 0