$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2004-03-11 09:42:58
This surprised me; should it have?
#include <boost/bind.hpp>
#include <boost/mem_fn.hpp>
struct X
{
int y;
};
int main()
{
boost::mem_fn(&X::y); // OK
boost::bind(&X::y); // Error!
}
-- Dave Abrahams Boost Consulting www.boost-consulting.com