Re: [sigc] callbacks with std::auto_ptr by value



On Thu, 2006-08-31 at 22:18 +0200, klaus triendl wrote:
> Hi,
> 
> there are compile problems with std::auto_ptr.
> The following code won't compile:
> 
> [snip]
>
> What do you think?

I would suggest the use of boost::shared_ptr or similar instead of
std:auto_ptr.

\David
-- 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]