title: C++ library export specific functions only
body: <p>I am trying to search for ways to control the 'exposure' of functions/classes/variables to third-party users while I still have full access within a C++ project/library.</p>
  <p>In javascript you got modules which does this exactually.
  In java/C# you can get pretty far with access-modifiers.
  But in C/C++ there doesn't seem to be any control beyond the file itself (i.e. when its in the .h/.hpp file, its accessible from anywhere).</p>
  <p>So the question, is there a way to access functions/classes/variables from files within the project without exposing them to third-party users?</p>