$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: gast128 (gast128_at_[hidden])
Date: 2005-12-06 17:57:02
Thorsten Ottosen <tottosen <at> dezide.com> writes:
> 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