mcy / best

The Best Library: a C++ STL replacement
Apache License 2.0
165 stars 2 forks source link

Add `best::box` and rename `best::object_ptr` to `best::ptr`; add `best::vptr` and `best::vbox` #26

Closed mcy closed 3 months ago

mcy commented 3 months ago

This patch adds a bunch of pointer-related stuff. In summary:

Although not tested yet, all of the above has custom allocator support. I need to implement best::arena or similar and add tests for best::box<T, best::arena&> and friends.