Descriptionadd a user-provided constructor to emulated c++11 NullPtr
According to this GCC bug/patch, a user-specified constructor is
required for the emulated C++11 nullptr_t class if we want to be able
to create const nullptr_t objects without an explicit initializer,
a la: "const std::nullptr_t nullptr;"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42844
This fixes a build failure in GCC 4.5.
BUG=374431
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175874
Patch Set 1 #
Total comments: 2
Patch Set 2 : comment nit fixup #Patch Set 3 : another attempt at a readable comment #
Total comments: 2
Patch Set 4 : mention GCC 4.5 explicitly in code comment #Messages
Total messages: 13 (0 generated)
|