$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: markus_schoepflin (markus.schoepflin_at_[hidden])
Date: 2002-03-25 05:51:18
Is it just me or is it my compiler (MSVC6SP5)? The following code
gives me an error. Whats wrong?
#include <boost/bind.hpp>
#include <functional>
using boost::bind;
void main()
{
bind(std::greater<int>, _1, _2)(1, 2);
}
main.cpp(8) : error C2275: 'std::greater<int>' : illegal use of this
type as an expression
TIA, Markus