
Zeljko Vrba wrote:
In the code below, the compiler complains with
q.cc:39: error: no matching function for call to `inc2(boost::fusion::map<boost: :fusion::pair<detail::KEY, int>, boost::fusion::void_, boost::fusion::void_, boo st::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::vo id_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_>&)'
id_t<K> is the SAME type as the expanded BF::map type in inc1; it even works as the return type of inc1, yet I can't use it as an argument to inc2. What am I missing? This happens both on gcc 3.4 and SunCC 12. ...
namespace detail { namespace BF = boost::fusion; struct KEY;
Just a cursory glance, is KEY ever fully defined... the above is just a forwarded name. Jeff Flinn