enum string[string] CtfeFoo = ["foo" : "bar"];
static immutable string[string] Foo;
static this()
{
Foo = CtfeFoo;
}
string ctfeableFunction()
{
if (__ctfe)
return CtfeFoo["foo"];
else
return Foo["foo"];
}
void main()
{
enum a = ctfeableFunction();
auto b = ctfeableFunction();
}
09-10
1344

05-03
112

05-02
176

05-02
283

05-02
96

04-27
430

04-18
290

04-11
223


2504d,12月会议
04-10
198


2025,倪五书的地址
04-01
166

03-28
247

03-26
99

03-25
208

03-20
119


2503d,d111更改
03-11
985

03-07
196


2503,D比C更易重构
03-04
340

02-26
238

02-22
196

02-13
172
