Skip to content

栈和队列的扩容模式改为萃取 #37

@ClazyChen

Description

@ClazyChen

共享栈和循环队列使用了2的扩容模式
改为萃取Vector的扩容方法
if constexpr (is_base_of_v<...>) m_expand_algo = make_unique<...> // 萃取
else ... // 默认
2的扩容

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions