On 2012-09-21 08:07 , Henri Sivonen wrote:
What's the type of nullptr on Mac OS X 10.7 debug build? On tryserver,
the compiler complains that there’s no nullptr_t in namespace std when
using std::nullptr_t. Including <cstddef> does not help.
MOZ_HAVE_CXX11_NULLPTR is defined, however.
Use case: Catching nullptr assignment in operator=.
In code that uses c++11 you can use
typedef decltype(nullptr) foobar;
Cheers,
Rafael
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform