Will someone please point me in the correct directions. I want a "static" (singular instance) std::list, so the std::list is shared within all objects having an instance of the "Container" structure seen below. However, all other elements within the structure are to remain unique to each instance.
Where am i to place the keyword "static" for the derived std::list?
Note the keyword "static" below is misplaced, as i simply don't know where it should be in this case.
struct Container : public static std::list<int>
{
public:
Container()
{}
~Container()
{}
list<int*> Handles;
}; // struct