
3 Oct
2008
3 Oct
'08
10:27 p.m.
AMDG peter_foelsche@agilent.com wrote:
I don't understand why the compiler thinks there is am ambiguity. I pass only two template arguments and expected the compiler to select the matching for_each with two template arguments.
inline CThis &operator=(const double _d) { m_dValue = _d; boost::mpl::for_each
(CSet0(*this)); return *this; }
What exactly do you intend to do? It seems odd that you should pass the
same
type as the transform op and as the function object.
Do you really intend this:
CSet0 f(*this);
f(typename mpl::apply