$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-13 03:26:40
The following short program doesn't compile:
#include <boost/bind.hpp>
struct X
{
int f(const char*);
};
X x;
int y = boost::bind(&X::f, &x, _1)("hello"); // OK
int z = boost::bind(&X::f, _1, "hello")(&x); // not OK
Shouldn't it work?
===================================================
David Abrahams, C++ library designer for hire
resume: http://users.rcn.com/abrahams/resume.html
C++ Booster (http://www.boost.org)
email: david.abrahams_at_[hidden]
===================================================