title: Use struct as base for derived class in C++
body: <p>Is it possible to have a class inheriting from a struct?</p>
  
  <p>More specifically, how can I wrap a C struct with a class, so that I can pass class pointers to methods that requires struct ptr and cast back when I receive the pointer in e.g. callbacks?</p>
  
  <p>(Or even more specifically, the address of the class should be same same address as the struct...)</p>