Proposal: user defined attributes

Manu turkeyman at gmail.com
Sat Mar 17 19:04:23 PDT 2012


On 18 March 2012 03:48, Walter Bright <newshound2 at digitalmars.com> wrote:

> On 3/17/2012 6:39 PM, Manu wrote:
>
>> I'm sure C# already answers all these questions. It has precisely the
>> same set
>> of issues associated.
>>
>
> C# doesn't have RAII, immutable, nor the notion of threadlocal/shared
> types.
>

C# has immutable. How does RAII cause a problem here?
The threadlocal/shared stuff shouldn't be a problem, since the attribute
instances are contained by the class its self, it just has the same
locality properties. Can you imagine a case where that would be problematic?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120318/80c7f7f3/attachment.html>


More information about the Digitalmars-d mailing list