How to keep naming convention of a project while using third party libraries in C++?

c++, naming-conventions

Solution

"A foolish consistency is the hobgoblin of little minds". Stop worrying so much about the naming convention - enforce it within the project, sure, but don't make third-party libraries conform to it.

Infact, the small differences could be useful in helping the reader see what kind of code they are dealing with at a glance.

Problem

I'm thinking about this: Is it common to, for instance, write macros to create an alias to functions, variables, or any other element coming from a third party library that does not use your naming convention?. If yes, what is the best way to do it, just writing macros?

Original source