Check the const function_cast function

[SVN r11364]
This commit is contained in:
Douglas Gregor
2001-10-08 13:55:55 +00:00
parent e00d8f0afb
commit 07390a35e3
2 changed files with 2 additions and 0 deletions

View File

@ -551,6 +551,7 @@ test_one_arg()
const function<int, int> cf2(add_to);
BOOST_TEST(cf2(3) == 8);
BOOST_TEST(cf2.target_type() == typeid(add_to_obj));
BOOST_TEST(function_cast<add_to_obj>(cf2).value == 5);
}
static void