Boost logo

Boost Users :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-03-25 11:48:06


Doug, Peter, thanks for your answer!

Just for the records, the following program compiles and executes ok with MSVC6SP5. (Note the use of constants.)

Markus

---<%---
#include <boost/bind.hpp>
#include <functional>
#include <iostream>

using boost::bind;

void main()
{
  std::cout
    << boost::bind<bool>(std::greater<int>(), _1, _2)(2, 1)
    << '\n';
}
--->%---


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