A simple example how to create cross-platform classes that can be allocated on stack.