phobos

    9热度

    4回答

    有两个火卫一和探戈。 据我所知他们是多余的和不兼容的。 有没有计划加入他们? 如果是这样,它何时会发生?

    16热度

    2回答

    为什么Phobos使用enum来定义常量?例如,在std.math: enum real E = 2.7182818284590452354L; 为什么不使用全球immutable?与immutable相比,enum有什么优点/缺点?

    6热度

    3回答

    我正在学习D,并且被我遇到的错误困惑。 考虑以下几点: module helloworld; import std.stdio; import std.perf; ptrdiff_t main(string[] args) { auto t = new PerformanceCounter; //From managed heap //PerformanceCoun