Compile-time predicate for checking whether an aggregate field is static

kinke noone at nowhere.com
Sat Mar 2 19:09:23 UTC 2024


On Saturday, 2 March 2024 at 15:22:03 UTC, Per Nordlöw wrote:
> How do I at compile-time check whether an aggregate field is 
> static?

https://dlang.org/phobos/std_traits.html#hasStaticMember perhaps.


More information about the Digitalmars-d-learn mailing list