
Hello Eric, Wednesday, August 1, 2007, 10:32:04 PM, you wrote:
Andrey Semashev wrote:
Hello Chris,
Tuesday, July 31, 2007, 10:22:51 PM, you wrote:
This was a proposed library implementation of nullptr for c++0x from http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1601.pdf
Hmm, it seems it doesn't convert to function or member function pointers...
It can't because of limitations of the syntax for defining conversion operators. See the discussion for core issue #395:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#395
But if nullptr is a built in keyword and its decltype is supported by the compiler itself, there would be no need to describe it in C++ syntax. -- Best regards, Andrey mailto:andysem@mail.ru