Review, improve the allocator interface
Red-Portal opened this issue · comments
Kyurae Kim commented
Review, improve the allocator interface
Kyurae Kim commented
- Removing get_allocator
accessing member type variable ::allocator_type should now replace this metafunction.
2. Moving, renaming change_allocator_type
The C++ standard term for something like this is 'rebind'. Should be renamed accordingly.
and it should probably be a member metafunction of default_allocator.
(the C++ standard uses std::allocator_trait as indirection, but it seems to be overkill for our case)
Kyurae Kim commented
Done