Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加自定义分配器功能 #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

microcai
Copy link
Member

@microcai microcai commented Nov 4, 2024

c++ 就是这样的,要极大的满足用户的自定义需求。而用户非常有可能,是需要
定制 promise 对象的内存分配的。因此,学习 STL 容器的做法,让用户可以设
定 Allocator 模板参数,从而定制化内存需求。

@microcai microcai force-pushed the allocator_support branch 2 times, most recently from bf0fd2e to b8dcdc8 Compare November 4, 2024 03:24
c++ 就是这样的,要极大的满足用户的自定义需求。而用户非常有可能,是需要
定制 promise 对象的内存分配的。因此,学习 STL 容器的做法,让用户可以设
定 Allocator 模板参数,从而定制化内存需求。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant