static if (...) {
} else static if (...) {
} else {
static assert(0);
}
Re: RFC to: my need for 'static switch' and CT 'static variables'
Elronnd via Digitalmars-d-learn Thu, 25 Nov 2021 16:45:53 -0800
- RFC to: my need for 'static switch' and CT... Alexey via Digitalmars-d-learn
- Re: RFC to: my need for 'static switc... Alexey via Digitalmars-d-learn
- Re: RFC to: my need for 'static switc... Elronnd via Digitalmars-d-learn
- Re: RFC to: my need for 'static s... Alexey via Digitalmars-d-learn
