
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@mac.com
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