I think that the best solution for this problem is to have a corresponding directory for each namespace. That is, having two namespaces, nsx and nsx::nsy, and two classes nsx::c1 and nsx::nsy::c1, the resulting filesystem heirarchy will be:
This way the namespaces will be kept in sync with the directory structure.
Bookmarks