Код: Выделить всё
namespace A {
namespace { //anonymous namespace within the namespace
int a;
}
void foo(){ std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/33273168/namespace-private-members-in-c[/url]Код: Выделить всё
namespace A {
namespace { //anonymous namespace within the namespace
int a;
}
void foo(){ std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/33273168/namespace-private-members-in-c[/url]