View Single Post
Old 03-01-2017, 08:28 AM   #14
gstuff
Human being with feelings
 
Join Date: Feb 2014
Posts: 63
Default

That's correct, static member variables are shared by all instances in the same process. This allows you to count/track your instances and use an array/vector to hold data specific to each instance in one global location, without using pointers directly, akin to an Observer pattern using pull (polling). If that's not what you're trying to do then please ignore.

Last edited by gstuff; 03-01-2017 at 08:34 AM.
gstuff is offline   Reply With Quote