----------
I didnt respond because I was writing template stuff that would do the same thing as example, but then I failed, because it would include stuff I would really not want to compile(parse ambiguity mostly), but this could technically be done with concepts:
----------
Right, that would do the trick here (and looks also cleaner)... nice
----------
Also what about the C++ concept as template argument style?
----------
Yes, thats a nice way to keep short things short.
----------
Also just now thinking about having Or-ing in the concepts, so the Printable concept would require EITHER method print OR function Print, something like this
----------
Hm, I don't know if I like that syntax... But yeah some mechanism to or different concepts would be nice.