| 227 | |
| 228 | template <typename T> |
| 229 | void CheckMoveAlloc() { |
| 230 | TMemoryPool pool(10 * sizeof(T)); |
| 231 | |
| 232 | TVector<T, TPoolAllocator> elems(&pool); |
| 233 | elems.reserve(1); |
| 234 | elems.emplace_back(); |
| 235 | elems.resize(100); |
| 236 | } |
| 237 | |
| 238 | void TestMoveAlloc() { |
| 239 | CheckMoveAlloc<TNoMove>(); |
nothing calls this directly
no test coverage detected