------- Comment #6 from pluto at agmk dot net 2010-06-28 09:47 ------- (In reply to comment #5) > N.B. nullptr is a keyword in c++0x, and proper nullptr support has been added > to 4.6 anyway, but those covnersions should still work
gcc <= 4.4 rejects only operator!=(pmf,nullptr): $ g++44 t.cpp -Wall -c -std=c++0x t.cpp: In function 'int main()': t.cpp:21: error: no match for 'operator!=' in 'pmf != nullptr' gcc >= 4.5 rejects also operator!=(p,nullptr): $ g++45 t.cpp -Wall -c -std=c++0x t.cpp: In function 'int main()': t.cpp:21:19: error: no match for 'operator!=' in 'p != nullptr' t.cpp:21:41: error: no match for 'operator!=' in 'pmf != nullptr' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33990