User Defined Attributes
Walter Bright
newshound2 at digitalmars.com
Sat Nov 10 11:04:07 PST 2012
On 11/10/2012 1:59 AM, Jacob Carlborg wrote:
> On 2012-11-10 05:02, Walter Bright wrote:
>
>> Meaning a given attribute can have only one, global, meaning.
>
> Isn't that true for any symbol. Can I have two std.stdio.writeln symbols in the
> same application?
>
Think of it this way. If I have myString.String, and use the strings in it as an
attribute in one module, and in another use module use myString.String as an
attribute with a totally different meaning, that will not work if plugins are used.
More information about the Digitalmars-d-announce
mailing list