Reputation: 3136
If I declare a typedef in a class or interface, can classes that import/implement the class/interface use the typedef?
Upvotes: 0
Views: 191
Reputation: 1430
You import a module, which can have a list of typedefs and direct definitions in it(and MUST have one definition with the same name as module). If definition isn't marked as private, it will be imported in your scope and you will be able to use it(with or without namespace).
Upvotes: 2