Why isn't 'nullptr' in the 'std' namespace?

c++, c++11, nullptr

Solution

`nullptr` is a C++11 keyword (no different to `if`, `public`, `true`, `void`, etc.), so namespaces don't apply.

Problem

It seems that `nullptr` is declared in the default global namespace. Wouldn't it make sense for it to be in the `std` namespace?

Original source