language: C++11 (gcc-4.7.2)
date: 314 days 5 hours ago
link:
visibility: private
1
2
3
4
5
6
7
#include <type_traits>
 
struct foo { void bar(); };
 
static_assert(not std::is_pointer<void (foo::*)()>::value, "Pointers to member functions are not pointers");
 
int main() {}