I'm stuck with two .hpp
files that have a lot of classes / methods that share same names and so on. My problem is that A.hpp
is wrapped inside a namespace
so I can use whatever I want using> A::className objName(...);
But I don't know how to use anything from B.hpp
, which is not wrapped inside namespace, so I can't write B::className objName(...)
.
Process of demanding access to change any of .hpp
files (where I would just wrap B inside namespace) would take about a day, so I'm looking for alternate and quicker solution.
Thank you.