Answer the question
In order to leave comments, you need to log in
Is it possible for the compiler to automatically add a variable to a namespace?
Hello I have an empty namespace
namespace Addresses
{
}
Answer the question
In order to leave comments, you need to log in
This is the only way in any language.
namespace Addresses {
uintptr_t myAddresses = processManager.xxx;
}
namespace Addresses {
extern uintptr_t myAddresses;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question