title: What is the difference between public, private, and protected inheritance in C++?
body: <p>What is the difference between <code>public</code>, <code>private</code>, and <code>protected</code> inheritance in C++?</p>
  <p>All of the questions I've found on SO deal with specific cases.</p>