title: When to use C++ private inheritance over composition?
body: <p>Can you give me a concrete example when is preferable to use private inheritance over composition? Personally, I will use composition over private inheritance, but there might be the case that using private inheritance is the best solution for a particular problem. Reading the <a href="http://www.parashift.com/c++-faq-lite/private-inheritance.html#24.3" rel="noreferrer">C++ faq</a>, gives you an example on using private inheritance, but I seems easier to use composition + strategy pattern or even public inheritance than private inheritance.</p>