sboschi75-personal@yahoo.it wrote:
Hallo,
I would like to override operators for boost::function.
Hi Stefano, in future, please use more specific subject for your postings. Also, putting your full name in the "From" line is considered more polite than using "sboschi75"
Forexample I was thinking of an operator "-" :
template <T> function<T> operator - (const function<T>& a) { // what do I write here in roder to return the symmetric function? }
The following works for me.
#include