pure, safe and generalized attributes

Janice Caron caron800 at googlemail.com
Fri Apr 4 00:42:46 PDT 2008


On 04/04/2008, Knud Soerensen <4tuu4k002 at sneakemail.com> wrote:
<snip>

Nice. But to avoid accruing an infinite number of keywords, the syntax
needs to be slightly changed. Instead of

    int func(param p1) KilroyWasHere
    {
        ...
    }

use

    int func(param p1) attribute(KilroyWasHere)
    {
        ...
    }



More information about the Digitalmars-d mailing list