Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net