Using-directive class static functions?
问题 I am using an API that has a lot of functions in a class named TCODConsole as static functions. Now I thought that it was in a namespace, so I wrote: using namespace TCODConsole; . Then I found out that TCODConsole ain't a namespace, but a class. Is there a way to import those functions in a similar way as you would use using namespace ? 回答1: Though I may misunderstand the question, if shortening the qualification is the objective, does typedef ing like the following meet the purpose? struct