Missing attributes in FunctionAttribute
Dicebot
m.strashun at gmail.com
Sun Feb 10 12:22:48 PST 2013
On Sunday, 10 February 2013 at 19:51:36 UTC, Andrej Mitrovic
wrote:
> On 2/10/13, Dicebot <m.strashun at gmail.com> wrote:
>> Which part? Probably it refers to delegates, because it has
>> both
>> type qualifiers and attribute that qualifies hidden context
>> pointer.
>
> Could be. Anyway it's here:
>
> http://dlang.org/declaration.html#MemberFunctionAttributes
Ye, notice the word "member" and difference with
http://dlang.org/declaration.html#FunctionAttributes ; It is for
delegates (implicit or explicit) and qualifies context pointer /
this, not type itself. Probably functionAttributes template could
have handled this special case but I have no idea if it should.
More information about the Digitalmars-d-learn
mailing list