
6 Dec
2005
6 Dec
'05
11:41 a.m.
Dear all, I am too tired to investigate it deeply, so does anyone know why this does not compile (on VS 2003): typedef boost::function<int (const int& , const int&)> BinOperand; typedef std::vector<BinOperand> BinOperandVector; BinOperandVector operands = boost::assign::list_of(std::plus<int>()) (std::minus<int>()) (std::multiplies<int>()) (std::divides<int>()); Wkr, me