
on Tue Nov 11 2008, "Robert Ramey" <ramey-AT-rrsd.com> wrote:
when this first came up, it thought that it would be possible to do this. Now that I think about this, I don't see that its possible.
The things that occur to me that could be done would be:
a) include the hack of creating a temporary variable on the stack.
My concern this was that objects are tracked by address. But if the type of the object is not tracked then there would be no problem. So I would use BOOST_STATIC_ERROR( implementation_level<T><= object_serializable )
b) the above could be included in an rval wrapper.
c) the above could be included in the library itself.
A way to temporarily "turn off" tracking hasn't occured to me yet. I'm leaving aside the side effects that such a faclity might cause.
Thanks for your answer. When I asked, it was much more important to me that I find out what the current behavior was than it was to have a new feature. So, again, thanks. I have what I need to do my job. -- Dave Abrahams BoostPro Computing http://www.boostpro.com