Fix result_of's handling of F(void).

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

No files matched your search

+1
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;
}