How do I at compile-time check whether an aggregate field is static?
Thread overview | |||||
---|---|---|---|---|---|
|
March 02 Compile-time predicate for checking whether an aggregate field is static | ||||
---|---|---|---|---|
| ||||
March 02 Re: Compile-time predicate for checking whether an aggregate field is static | ||||
---|---|---|---|---|
| ||||
Posted in reply to Per Nordlöw | 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. |
March 02 Re: Compile-time predicate for checking whether an aggregate field is static | ||||
---|---|---|---|---|
| ||||
Posted in reply to kinke | On Saturday, 2 March 2024 at 19:09:23 UTC, kinke wrote: >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. Thanks. Neither my web searches nor ChatGPT plus couldn't figure that out. |
Copyright © 1999-2021 by the D Language Foundation