On Wednesday, 19 June 2013 at 06:47:05 UTC, Jonathan M Davis wrote:
Then just put whatever is supposed to be shared between them in the package that they were both in originally. package stuff is not part of the public API, so when you're refactoring package code, you're refactoring code that you own entirely, so it shouldn't be an issue if you have to rearrange it a bit, especially since it's all localized to a single package by definition. It's only when something is part of a public API that refactoring becomes a
problem.

- Jonathan M Davis

I can't put a member function into a different file if it's supposed to have access to private data of its enclosing class/struct.

Reply via email to