Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-04-09 09:30:44


#include <boost/any_function.hpp>

int f()
{
 return 0;
}

int main()
{
 boost::any_function<int, int> F(f);
 return 0;
}

compiles. Is this by design? Desirable?

--
Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk