
Le 03/01/12 07:27, Gennadiy Rozental a écrit :
Vicente J. Botet Escriba<vicente.botet<at> wanadoo.fr> writes:
I have added
#include<utility>
without success.
I guess that the standard library doesn't provides this function even if the compiler provides rvalue references.
The code should test for a macro that states if std::forward is available. Please could someone help on this issue? Are you saying we consider this compiler supporting rvalue references even though it does not have std::forward? I would say that they are part of the same deal. Or am I missing some include?
We should either define BOOST_NO_RVALUE_REFERNCE or add an include. I do not think we want separate macro detecting presence of std::forward.
Could some clang expert help to clarify this issue? Best, Vicente