6 Dec
2005
6 Dec
'05
10:57 p.m.
Thorsten Ottosen
Please post complete examples to make it easier to investigate suh things.
Ok forgot to put void Foo() {<snippet>} around it...
Anyway, if you don't tell list_of() what type to store in the list, it will use the first argument to deduce the type. So you're creating a list of std::plus<int> !
do
boost::assign::list_of<BinOperand>( .... )
instead
HTH
Thorsten
Thx (also for the previous post with the same solution). I will try it tomorrow. Wkr, me