I use a library that only returns references to created objects Entity& Create(int id). In my class, I need to create one of these and store it.
Entity& Create(int id)
I had th