boost_1_60_0\boost/fusion/
return std::forward<result>(*advance_
BOOST_NO_CXX11_HDR_ macros but not found one that resolves this issue.
I don't have any choice about compiler version or library version due to other constraints.
Any suggestions appreciated,
Stan
#include <boost/fusion/tuple.hpp>
#include <boost/fusion/algorithm.hpp>
#include <string>
#include <iostream>
using namespace boost::fusion;
struct print
{
template <typename T>
void operator()(const T &t) const
{
std::cout << std::boolalpha << t << '\n';
}
};
int main()
{
typedef tuple<int, std::string, bool, double> tuple_type;
tuple_type t(10,"Boost", true, 3.14);
for_each(t, print());
}