class Canvas<Frontend, Display>
that should draw on a Display directly, or on an intermediate Buffer<Frontend,Display>
. There should be Canvas::display() which returns a reference to the display object and Canvas::outputDevice() which returns a reference to the device (Buffer or Display) which it actually draws on. How can I achieve that?