From: gast128 (gast128_at_[hidden])
Date: 2005-12-06 13:41:02


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