On Friday, 6 April 2012 at 15:07:04 UTC, Manu wrote:
But maybe the function approach has aneffect on the simplicity of the expression for a simple attribute, like a single bool?
Meh, it is pretty similar: struct Serializable { bool yes; } bool Serializable(bool yes) { return yes; }