
22 Dec
2009
22 Dec
'09
12:03 a.m.
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