Store weak pointer to self
·
Sai Kiran
Was going through https://itecnote.com/tecnote/c-store-weak-pointer-to-self/ and then came to know that we can have a weak pointer to self. This technique can be used to make sure everyone is using the same object, kind of like a singleton.