Using C and plain functions in C++, I can prevent the functions' symbols to be exported by using static
keyword:
static int foo(int a, int b) { /* ... */ }
But in a class, defining a function as static
has a completely different meaning. Is there a way to ensure the compiler that my whole class will be used only within module, and there is no need to export any of its methods' symbols?