I'm using a third party C++ lib in one of my current projects. Their lib does not define a custom namespace, though. So, all of their functions are just out there. This isn't a big deal, but ideally they'd have used a namespace.
Is it possible to #include their header files under a custom pseudo namespace of some kind? This way, all of their functions could be included in a namespace.
#includeis literally copy-paste, you could donamespace something { #include "header" }, however that won't work if there are other files that#include "header"and don't put thenamespace something { }around it (like the implementation files). So there's really no way around manually editing all the files.