Fix result_of's handling of F(void).

[SVN r37140]
This commit is contained in:
Douglas Gregor
2007-03-05 15:25:16 +00:00
parent 66514f61ff
commit 2d860e2574
2 changed files with 16 additions and 6 deletions

View File

@@ -79,6 +79,7 @@ int main()
BOOST_STATIC_ASSERT((is_same<result_of<mem_func_ptr_v(X,char)>::type, int>::value));
BOOST_STATIC_ASSERT((is_same<result_of<mem_func_ptr_cv(X,char)>::type, int>::value));
BOOST_STATIC_ASSERT((is_same<result_of<mem_func_ptr_0(X)>::type, int>::value));
BOOST_STATIC_ASSERT((is_same<result_of<func_ptr(void)>::type, int>::value));
return 0;
}