
Joel de Guzman wrote:
Ok I fixed the fusion::invoke test. Tricky!
That also fixes the first test from Ticket #6915. The second, OTOH, I think is an error.
I didn't have a closer look at #6915, so I cannot answer about the ticket (sorry!). But the following test case still fails: (Test case attached.) Michel Morin wrote:
Here is a minimal test case:
#include <boost/fusion/include/invoke.hpp> #include <boost/fusion/include/vector.hpp>
struct F { typedef void result_type; void operator()(int&) const {} };
int main (int argc, char* argv[]) { boost::fusion::vector<int> v(1); // Error when decltype-based result_of is used; // trying to instantiate result_of<F(const int&)> boost::fusion::invoke(F(), v);
return 0; }
Regards, Michel