Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::serialization::null_deleter
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-12-21 19:03:27


AMDG

Andreas Ronnquist wrote:
> I am using boost::serialization::detail::null_deleter in combination
> with shared_ptr (on boost 1.34/35) - and I am having a user of my
> program compiling my program (on boost 1.41) who says he has to change
> that line to just boost::serialization::null_deleter to get it to work.
>
> Should I work around this with pre-processor checks, and in that case -
> what versions should I look for?
>
> Or is there a simpler fix?
>

If something in boost is in a namespace called detail,
it's considered an implementation detail. If you
use it, you're on your own as far as compatibility
goes.

In Christ,
Steven Watanabe


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