Make sure to pass the address of a function to Boost.Function, not the function itself (stupid MSVC)

[SVN r16176]
This commit is contained in:
Douglas Gregor
2002-11-09 17:12:45 +00:00
parent 5574a6e97d
commit aa2c2520ad

View File

@ -105,7 +105,7 @@ test_zero_args()
BOOST_TEST(v1.empty());
// Assignment to an empty function from a free function
v1 = write_five;
v1 = &write_five;
BOOST_TEST(!v1.empty());
// Invocation