https://www.youtube.com/playlist?list=PLmV5I2fxaiCKfxMBrNsU1kgKJXD3PkyxO

<aside>

85% Solutions

No RAII

(Resource Acquisition Is Initialization)

Alright, if you want to put a new struct in you game. It’s got to have a Constructor and a Destructor and it’s got to have a Copy constructor so that I can assign it by value and that’ a kind of slow sometimes so I better put in a Move constructor also and mabye it should have an iterator and bla~ bla~ bla~ it becomes disaster very fast and it’s like walking throught a swamp every time.

There’s no such thing as a “resource”. “resource” really means:

image.png

image.png