#pragma once #include "v_array.h" #include "object_pool.h" namespace VW { template struct v_array_allocator { v_array operator()() { return v_init(); } }; template struct v_array_deleter { void operator()(v_array& array) { array.delete_v(); } }; template using v_array_pool = VW::value_object_pool, v_array_allocator, v_array_deleter>; } // namespace VW