TDynamicObjectPool::TryAllocate

Attempts to allocate Num number of objects, given a factory method Allows the FactoryMethod to return a nullptr, which will get culled from the pool.