Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::serialization::null_deleter
From: Andreas Rönnquist (andreas.ronnquist_at_[hidden])
Date: 2009-12-22 05:29:23


Thanks guys (both Robert and Steven) - I managed to work my way around
it by providing a null_deleter of my own:

template<typename T>
struct null_deleter
{
void operator()(T *) const {}
};

which of course makes me able to compile/run no matter what boost
version (in this case anyway).

Thanks!

On Mon, 21 Dec 2009 16:13:02 -0800
"Robert Ramey" <ramey_at_[hidden]> wrote:

> Hmmm - I'd have to spend more time on it to give a good answer.
>
> In any case, the latest version in the trunk - and maybe release - I forgot
> has null_deleter replaced with something else to fix a bug.
>
> Robert Ramey
>
>
<snip>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net