Compiler Error C2879

'symbol' : symbol can not be aliased

You tried to create a namespace alias to a symbol that is not a namespace.

The following code shows the problem:

int i;

namespace A = i; // error C2879, i is not a namespace