Hello,
I run into the problem to provide ostream operator<< support for spirit's debug facility and for lazyness using fusion's io support:
---8<---
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/fusion/include/io.hpp>
#include <iostream>
namespace fusion = boost::fusion;
namespace client {
struct point {
int x,y;
};
template<typename CharT>
std::basic_ostream<CharT>& operator<<(std::basic_ostream<CharT>& os, point const& p) {
os << p;