Boost logo

Boost :

Subject: Re: [boost] [move] Library uploaded to sandbox
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-02-28 12:44:05


Hervé Brönnimann wrote:
> Hi Ion: I've been playing with this code a bit lately, on some antique
> (pre-SFINAE) compilers. I've sent you private emails but may as well
> post to the list to share with everyone else, and also this has become a
> bit clearer to me.
>
> SunPro Studio 8: The implementation of "operator rv<T>&() { return
> static_cast<rv<T>&>(*this); }" produces an infinite loop. Replacing
> "static_cast" by "reinterpret_cast" solved the problem.

Ok, thanks.

> Hervé Brönnimann
> hervebronnimann_at_[hidden]
>
> PS: As promised, I attach the patched move.hpp with the#ifndef
> BOOST_NO_SFINAE #else #endif branch implemented. Testing minimal, but
> at least compiled your test example (which you offered as "A little
> example to play a bit: ...") .

Ok, thanks, I want to find a bit of time to do a new release next week.
I'm separating interprocess containers and placing them in a
boost::container namespace (boost/container folder) so we have a some
standard containers to keep playing ;-)

Best,

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk