Game Engine Programming 033.2 - Use the free-list with utl::vector and std::vector | C++ Game Engine

Published December 28, 2022
Advertisement

Previously, I wrote a free-list container which had a vector as its buffer and I ran into the problem of conflicting destruction of items which made it necessary to write our own vector container that has an extra template parameter to control whether the items should be destructed upon deletion or not. I stopped halfway of writing the vector class and today I'm going to finish it and use it for the free-list.

?(Red Episode)

✅ Support Game Engine Series https://patreon.com/gameengineseries
✅ Discord https://discord.gg/75ZmXwz

? Mr. Frummel https://instagram.com/mr.frummel

keywords: free list container, vector container, c++

by Arash Khatami

-------------------------------------------------------------

#PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement