I'm having problems compiling boost 1.92 beta 1 using gcc16:
/usr/include/c++/16/bits/predefined_ops.h:81:24: error: no match for call to ‘(__gnu_cxx::__ops::_Comp_with_val<std::equal_to<void>, boost::mpi::python::request_with_value, true>::_Fn) (boost::mpi::python::request_with_value&, const boost::mpi::python::request_with_value&)’
return _M_f(__arg, _M_val);
~~~~^~~~~~~~~~~~~~~
I solved the problem by added operator== in libs/mpi/src/python/request_with_value.hpp:
friend bool operator==(const request_with_value& lhs, const request_with_value& rhs)
{
return lhs.get_value_or_none() == rhs.get_value_or_none();
}
Not sure if this is the best solution.
I'm having problems compiling boost 1.92 beta 1 using gcc16:
I solved the problem by added
operator==in libs/mpi/src/python/request_with_value.hpp:Not sure if this is the best solution.