What is the meaning of the "@" prefix for some D attributes?

The D programming language has at least two attributes with the prefix "@":

  • @disable
  • @property

What is the meaning of "@"? I can not find anything in the documentation.

Also, why the __gsharedonly attribute with two leading underscores?

+3
source share
3 answers

It does not matter.

Yes, this is probably not what you hoped to hear, but it is what they said in the newsgroups.

+3
source

@ . @x . @ . , , @ , ( , , @ ), , , , @ , , , @public, , , . , @, , . , @, , . , @, .

D @ , @ , , .

+2

(. ), "@", .

, __gshared - , __thread __traits. , , "" (.. , ). , D- , , , , :

__ gshared .

__thread __traits ( ), .

0

All Articles