|
Boost : |
From: Darin Adler (darin_at_[hidden])
Date: 2001-09-18 17:29:40
This program fails to compile with Metrowerks CodeWarrior 7.0 and the latest
boost from cvs:
#include <boost/function.hpp>
namespace { void empty_function() { } }
int main()
{
boost::function<void> f(empty_function);
}
It seems that I need to say &empty_function, not just empty_function. Is
this an intentional features of Boost.Function? A bug in Boost.Function? A
bug in the Metrowerks compiler or standard library?
-- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk