Use nullptr, which is new keyword of C++11, instead of NULL