title: Decorator pattern in C++
body: <p>Can someone give me an example of the Decorator design pattern in C++ ? 
  I have come across the Java version of it, but found it difficult to understand the C++ version of it (from the examples I found).</p>
  
  <p>Thanks. </p>