custom attribute proposal (yeah, another one)

Adam D. Ruppe destructionator at gmail.com
Fri Apr 6 08:17:36 PDT 2012


On Friday, 6 April 2012 at 15:07:04 UTC, Manu wrote:
> But maybe the function approach has an
> effect 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; }



More information about the Digitalmars-d mailing list