"Daniel Gibson" <metalcae...@gmail.com> wrote in message news:i5kbpr$24t...@digitalmars.com... > bearophile schrieb: >> Daniel Gibson: >> >>> Why not use the non-fictional const keyword? "The const attribute >>> declares constants that can be evaluated at compile time."[1] >> >> But you can use const for constants that are known at run-time only. >> While you can't use enum for constant known at run-time. >> > > Really? Than that definition from the language docs is inaccurate. >
You were looking at the D1 docs. The whole const system changed in D2.