Package accessibility for function and/or class
问题 In Java they have package access specifier which enables the function to be used only by classes from this same "package" (namespace) and I see good things about it. Especially when design of models are in play. Do you think that something like this could be useful in C++? Thanks. 回答1: Yes, this can be accomplished. You may restrict visibility by public, protected, private keywords, as well as source visibility. Declared visibility is commonly understood. Source visibility (if you're coming