Consider the code
namespace A
{
}
namespace B
{
namespace ::A
{
void func();
}
}
This is invalid C++ syntax - but I'm looking for something that works. I need to declare ::A::func(), but from within namespace B (I don't want B::A::func, but A::func).
(If you ask why? then it is because func() will eventually by declared by a macro that also declares some things in namespace B.)
Is is possible?