Subject: Re: [Boost-users] Help with custom classes PLEASE!!
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-02-01 22:07:26


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