User Defined Attributes

Jakob Ovrum jakobovrum at gmail.com
Tue Nov 6 01:01:17 PST 2012


On Tuesday, 6 November 2012 at 08:56:26 UTC, Maxim Fomin wrote:
> Runtime arrtibutes can be implemented as properties in 
> object.d. This would work for classes only and for other types 
> it can be implemented manually. Runtime attributes require 
> substantial amount of work, introducing bugs, bloating ABI and 
> new questions about how this feature does work with others.

I'm not suggesting runtime attributes should be part of the 
language, nor am I suggesting we add them to Phobos.

All I'm saying is the UDA system has to be powerful enough that 
it *could* be implemented in a library if desired.



More information about the Digitalmars-d-announce mailing list