forked from boostorg/utility
Fix result_of's handling of F(void).
[SVN r37140]
This commit is contained in:
1 parent
66514f61ff
commit
2d860e2574
2 files changed
+16
-6
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user