pragma msg field name?

Adam D Ruppe destructionator at gmail.com
Tue Jun 27 10:56:24 UTC 2023


On Tuesday, 27 June 2023 at 04:25:13 UTC, Chris Katko wrote:
> How do I get just the field name?

__traits(identifier, field)

> And why does it think this is a run-time value?

It is the same as if you wrote `Class.field`


More information about the Digitalmars-d-learn mailing list