|
|
||
|
Wesley Smith wrote:
In one of my classes bound as userdata I have a static std::map defined as follows
class A{
map<int, A*> allocated;
};
Maybe it is typo, but allocated is not static member of A.
You meant:
class A{
static map<int, A*> allocated;
};
?
--
e.v.e