No, you cannot.
And no hack you can do would be safer than modifying base.h
for your own private use in a ABI compatible way and making base
better behaved. This requires knowledge of your compilers ABI and all future ABIs your code would be compiled under, which is impossible for any non trivial project.
If your life depended on it, you could do it: but doing it reliably would require constant vigilence against ABI changes. In practice, I would change base
, or do pImpl
hiding of base
, or stop using base
.