GCC 4.4.1 does not support nullptr
.
Support for nullptr
will be included in the upcoming GCC 4.6.0 release:
http://gcc.gnu.org/gcc-4.6/changes.html
Improved experimental support for the
upcoming C++0x ISO C++ standard,
including support for nullptr (thanks
to Magnus Fromreide), noexcept,
unrestricted unions, range-based for
loops (thanks to Rodrigo Rivas Costa),
implicitly deleted functions and
implicit move constructors.
In the meantime, if you want to experiment with nullptr
you can try the workaround in this SO question:
Can nullptr be emulated in GCC?