C++ Dynamic memory management std::allocator std::allocator::allocate 两种,c++20 后第一种不支持: (1) pointer allocate( size_type n, const void* hint = 0 ); (until C++17) T