in a template, how can I get the parameter of a user defined attribute

Adam Ruppe destructionator at gmail.com
Sat Nov 6 19:51:09 UTC 2021


On Saturday, 6 November 2021 at 19:45:49 UTC, Chris Bare wrote:
> dbForeignKey!(Position)


static if(is(T == dbForeignKey!Arg, Arg)) {
    // use Arg here
}



More information about the Digitalmars-d-learn mailing list