|
|
||
|
> Maybe it is typo, but allocated is not static member of A.
>
> You meant:
>
> class A{
> static map<int, A*> allocated;
> };
>
> ?
Yes, thank you for pointing that out. Late night email coding very
rarely gets you anywhere, especially after a few margaritas :)
wes