the-moisrex / webpp

C++ web framework | web development can be done with C++ as well.
https://t.me/webpp
MIT License
132 stars 9 forks source link

Simplifying allocator pack #472

Open the-moisrex opened 10 months ago

the-moisrex commented 10 months ago

Allocators I need:

Allocators I don't need:

Allocator Wrappers:

the-moisrex commented 10 months ago

How should I implement Monotonic Allocator?

How about resources?

the-moisrex commented 10 months ago

I removed local allocator completely too.

the-moisrex commented 10 months ago

I pretty much removed my whole allocator-pack system just because I forgot to add std::initializer_list there.

I totally wouldn't have done it if I knew the problem had nothing to do with allocators, but I'm happy I removed a ton of complicated allocator-related code!

image