I would like to have a struct that functions like this:
struct
member 1 (every instance of the struct has its own value of this)
static member (every struct shares this member)
I am aware that the static keyword does not do this. My question is, how can I mimic this behavior?
Could I create a member that is pointer to a global variable?
Is there some other better way to do this?