
2 Feb
2010
2 Feb
'10
3:07 a.m.
AMDG Daniel Veneros wrote:
And what about the class?
Oh, I see.
class Employee { private: string name; int age;
public: Employee(); ~Employee(); };
The string inside the class needs to use an allocator too. Everything that allocates memory which you store in shared memory needs to use the right allocator. In Christ, Steven Watanabe