5 Oct
2005
5 Oct
'05
9:12 p.m.
Hello, Is it possible to get boost::operator like functionality for general methods? In other words, I'd like to be able to do the following: template<...> struct complete : public ... { void f(){a();} void g(); }; struct C : public complete<...> { void a(); void b(){g();} }; The resulting class C would have methods a,b,g,f. Here C::b refers to the complete::g and complete::f refers to C::a, so the dependencies are circular. It seems like the boost::operators setup can handle this kind of circular dependency, but I'm not how to do it for methods. Thanks, Geoffrey